Sunday, December 18, 2005

EJB CMP compound primary key class remarks

Core Developers Network: "The CMP Entity must declare cmp-fields with the same name as each of the fields in the primary key class:


OrderStatus
...
OrderStatusPK

orderId


statusDate

...



It must also declare appropriate accessors:"

No comments: