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
What is ejb javatpoint?
What are transaction isolation levels in ejb?
Mention the three levels for applying interceptor methods.
What is ejb role in j2ee?
What is ejb in java with example?
How does the server decide which beans to passivate and activate?
What is EJB object?
What do you mean by ‘hot deployment’ ?
What is ejb and its types in java?
Differentiate “find a method” from “select method” in EJB ?
What is an ejb platform?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
What is stateless session?
What is session bean?
What is @injectmock?