Can the primary key in the entity bean be a Java primitive
type such as int?
Answer Posted / geetanand
IT SHOULD NOT BE PRIMITIVE. IT SHOULD BE AN OBJECT. AND IN
JAVA WE CAN CREATE OBJECTS OF ANY TYPE USING WRAPPER CLASSES.
SO WE CAN USE THIS WRAPPER CLASS OBJECTS.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
List some key actors in persistence api.
Can you be deported if you are stateless?
What is remote interface in ejb?
What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?
What is ptp model?
What is ejb application?
What is ejb ql?
Can remove() be a Stateless Session bean?
For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?
What is jar, war, and ear?
An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?
What ejb means?
Differentiate Conversational from Non-conversational interactions?
What is ejb and its types in java?
What is ejb and its types?