History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17433
Type: Bug Bug
Status: Open Open
Assignee: Gregory Shrago
Reporter: Serge Baranov
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Hibernate mappings not accepted

Created: 17 Mar 08 15:31   Updated: 17 Mar 08 15:36
Component/s: J2EE.Hibernate

Build: 7,757
Severity: Medium


 Description  « Hide
Support feedback:

Hibernate facet inspection does not accept the following mappings:

Mapping 1:

@CollectionOfElements
    @Column(name = "skill")
    public Set<String> getSkills() {
        return skills;
    }

Inspection message: Cannot resolve column 'skill'

Mapping 2:

@AttributeOverrides( {
            @AttributeOverride(name="sv", column = @Column(name="name_sv") ),
            @AttributeOverride(name="en", column = @Column(name="name_en") )
    } )
    public LocalizedText getName() {
        return name;
    }

(LocalizedText is a javabean with two string properties: en and sv) which has annotation @Embdeddable).
Inspection messages:
Cannot resolve attribute 'sv'
Cannot resolve attribute 'en'

The mappings are accepted by hibernate at runtime.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.