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 have threading in ejb?
How entity beans support container managed persistence?
Define Initial Context?
What are the various types of entrepreneur java bean?
What is an ejb container?
Name the attributes of javax.ejb.stateful.
How does the server decide which beans to passivate and activate?
What are the basic and subtypes of enterprise java beans (ejb)?
What are the advantages of ejb components?
How many ejb objects are created for a bean?
What are the advantages of ejb?
What is backing bean?
What is EJB object?
How many types of session beans are available in ejb?
What is ejb and how it works?