Hibernate version: 3.1final, annotations 3.1beta7
Thankyou for @CollectionOfElements. It is much simpler for modelling value semantics than entities with delete-orphan cascades.
Are there plans to allow the equivalent of:
Code:
<set ...>
<composite-element ...>
<many-to-one ...>
...
</many-to-one>
</composite-element>
</set>
This seems to be a restriction on what you can have in @Embeddable as described in the docs when discussing EJB3 embedded objects. I'm suprised EJB3 allows @Embedded at all if it doesn't allow @ManyToOne within the @Embeddable!
I looked for a JIRA indicating that this will be implemented, but didn't find one.
Chris.