1. JPA: EmbeddedId and CascadeType.PERSIST java.netpersisting in cascade is very handy but I can't seem to make it work for classes using an EmbeddedId. Suppose I have 2 classes: DocumentSequence and DocumentSequenceItem. A DocumentSequence can contain 1 or more DocumentSequenceItems. The primary key of a DocumentSequenceItem is a composed key of the unique id of the DocumentSequence and a sequencenumber. Is it possible to persist a ... |