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


Please Help Members By Posting Answers For Below Questions

Enlist the declarative transaction types?

604


What is EJB server provider?

587


What are transaction isolation levels in ejb?

553


What is use of @postconstruct?

531


Elucidate callback in ejb?

553






What are the benefits of ejb?

562


Is it possible to have threading in ejb?

558


Explain the important elements of ejb?

557


What do you mean by ‘hot deployment’ ?

593


What is ejb container?

683


Can EJB made to handle multiple transactions?

611


What does @singleton annotation do?

524


What do you mean by ejb ql?

580


What is Enterprise JavaBeans (EJB)?

606


Is it possible to share an httpsession between a jsp and ejb?

523