Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JPA composite primary key

843830Oct 29 2008 — edited Nov 3 2008
I have an entity with a composite primary key. I am trying the read ALL of the persisted transactions using an EJB ql expression. I notice that it is not reading any of the composite key fields since they are not really part of the entity, but a special class wrapper. I'm not using a find since I am reading all of the transactions. I would appreciate any input. I am using JPA JEE 5.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 1 2008
Added on Oct 29 2008
1 comment
233 views