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
Write down the steps for the creation of stateless ejb.
What is the difference between session and entity beans? When should I use one or the other?
What is ejb javatpoint?
What is EJB server?
Can an ejb send asynchronous notifications to its clients?
What is the difference between ejb and spring?
What are the components of ejb?
Why do we use ejb?
What is stateless code?
What is dependency injection in ejb?
What is session bean in ejb?
Explain the architectural relationship between JavaBeans and JTA?
What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?
Why should we use ejb?
What are stateless applications?