It's already supported (not your syntax though).
Check out the reference doc or use the user forum.
On 7 mai 2010, at 20:26, Ω Alisson <thelinuxlich(a)gmail.com> wrote:
Couldn't we simplify the process of using compound keys? Actually
the
official JPA implementation sux a lot in my opinion(extra classes with
@Embeddable and @EmbeddedId on the parent side).
Something like:
@Entity
class Item {
@CompositeId
int itemId;
@CompositeId
int orderId;
}
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev