[hibernate]<composite-element> attribute type should be an Embeddable
I have a collection mapped via hibernate as follows:
the relevant getter is
public List getCauses() {
return this.causes;
}
Idea underlines in red the "List" return value saying that "]]> attribute type should be an Embeddable". What does this mean? I see a javax.persistence.Embeddable annotation but 1) I'm not using JPA, only plain hibernate, 2) even if I add that annotation to my Cause class the error stripe does not go away.
Is this a bug in IDEA or something i don't understand?
请先登录再写评论。
The fix will be available from the next 7.0.3. EAP.
Davide Baroncelli wrote:
Great, thanks.