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
What is stateless session bean?
can u explain about design patterns like singleton,builder,factory
What is applicationscoped?
What is the meaning of acid in the connection of transaction management?
Explain the concept of ejb ql?
Which is the only method defined in the javax.ejb.handle interface?
Why do we use @requestmapping?
Define Initial Context?
What is bean-managed persistence?
What is difference between stateless and stateful?
Is state maintained by a Stateless bean?
Is ejb be called from another ejb? If yes then how?
What are the design principles for ejb?
What is session bean?
Define Context?