Hibernate version: Annotations 3.1beta7 / Core 3.1
I noticed that the Annotations FAQ says that associations are not supported in Embeddable objects:
Quote:
I can't make @ManyToOne / @OneToOne / @OneToMany / @ManyToMany work in my @Embeddable object
I can't override the @JoinColumns of my @Embeddable object
Hibernate Annotations currently does not support associations inside embeddable objects.
Does a @MappedSuperclass support associations ?
(I noticed that @EmbeddableSuperclass appeara to work OK for unidirectional @ManyToOne .. I mapped it by mistake before I read the FAQ ;-) )
Many thanks in advance, Hibernate is FAB :-)