Register / Login
Win a copy of
The Little Book of Impediments (e-book only)
this week in the
Agile and Other Processes
EJB Certification (OCEEJBD)
Need confirmation for single primary key class
posted 9 years ago
A primary key class is optional.
And it is valid for entity beans only. CMP and BMP too.
If we use CMP then we declare it in the deployment descriptor file :
If we use BMP then we create a primary key class and declare it in the deployment descriptor file :
in that case.
Is this correct ? thanks in advance
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
Can CMP entity beans created without a Primary Key ?
If Pkey of EB is of primitive type then what's the return type of ejbCreate()
Why EJB require Primary key class
Composite Primary Key