posted 18 years ago
With CMP, the primary key for an entity bean may be automatically generated by the container if the entity bean meets certain requirements. Which of the following is true.
A.
In the deployment descriptor, the primary key class must be defined as a java.lang.Object. The primary key field must not specified.
B.
In the home interface, the argument of the findByPrimaryKey method must be a java.lang.Object.
C.
In the entity bean class, the return type of the ejbCreate method must be a java.lang.Object.
D.
All of the above are requirements.
E.
None of the above are requirements.
I though the answer is E but its D, I think container can not automatically generate a primary key.
Please help...
soni.