No idea. I think Emmanuel had a better understanding of the derived identifier logic.
On 27 Jan 2014, at 06:26, Steve Ebersole <[email protected]> wrote: > What's the rational for supporting the following? > > > @Entity > class Product { > ... > } > > @Entity > class Order { > ... > } > > @Entity > @IdClass(...) > class OrderLine { > @Id > private Order order; > > @Id > private Product product; > } > > Specifically, the declaration of the OrderLine primary key. Why would > these not have to be `@Id @ManyToOne`? > _______________________________________________ > hibernate-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/hibernate-dev _______________________________________________ hibernate-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/hibernate-dev
