key « Field « JPA Q&A





2. binary key - one field assigned, the other generated - howto    forum.hibernate.org

Hibernate version: 3 I have two tables: ActionBatch and Actions. ActionBatch has a numeric key, created by a generator class. That works fine. That ID then becomes the first part of the binary key for the table described below. The second field is basically the same as the batch in that it needs a generator class to populate it at save ...