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

What are the design principles for ejb?

700


What is backing bean?

798


Define ripple effect?

819


why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface

2199


Define Context?

817


What happens when I change a value in the httpsession from inside an ejb?

713


A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?

737


What are the system services of ejb container?

815


What is stateless programming?

817


What is the procedure for the creation of stateless ejb?

755


How to import ejb project in eclipse?

779


What are the limitations of using local object?

726


can we stop the execution of a method before completion?

2722


What is stateless code?

703


Define Clone?

789