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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to