Couldn't we simplify the process of using compound keys?
Something like:
@Entityclass Item {
@CompositeId int itemId;
@CompositeId int orderId;
....
I think that the only caveat would be if I have a CompoundId field that isalso a foreign key(then we have to put insertable=false updatable=false allthe ugly stuff)