Can the primary key in the entity bean be a Java primitive
type such as int?
Answer Posted / kameshwar
The primary key can't be a primitive type--use the
primitive wrapper classes, instead. For example, you can use
java.lang.Integer as the primary key class, but not int (it
has to be a class, not a primitive)
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Is it possible to share an httpsession between a jsp and ejb?
Enlist the changes in EJB 2.1 ?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
What is ejb in java?
What are the various types of entity beam?
What are stateless applications?
Why is ejb needed?
Explain the architectural relationship between JavaBeans and JTA?
What are the components of ejb?
What are the different kind of ejb's?
What does ejb stand for?
What is the use of @resource?
What happens when I change a value in the httpsession from inside an ejb?
What does it mean to be stateless?
Differentiate Conversational from Non-conversational interactions?