Register / Login
EJB and other Java EE Technologies
Composite primary key and auto generation
posted 12 years ago
If in CMP bean we have composite primary key i.e there are two cmp field as primary key (PK class) then is it possible that one of it will auto generated.
I am using jbuilder as IDE and web logic as server 6.1 SP5, when i m compiling project and when it is running
it is giving me error :
when Automatic Key Generation is enabled, the Primary Key class must be
Is any body hv solution ?
thanks in advance,
Boost this thread!
Automatic Primary Key Generation
How to create CMP beans for DB2 whose column is auto generate
CMP 2.0 with oracle-sequence and composite primary key
Primary Key Class in CMP & BMP
Generate primary key with Custom key class in CMP