Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why is ejb needed?

902


What is stateful session bean?

1014


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?

934


Write down the steps for the creation of stateless ejb.

953


Explain the architectural relationship between JavaBeans and JTA?

2911


What is software architecture of ejb?

923


What is Enterprise JavaBeans (EJB)?

953


What is ejb context?

933


What are ejbs used for?

849


Can remove() be a Stateless Session bean?

1035


What is ejb in java with example?

928


in EJB diclare the static methods are not?

3395


What does @inject mean in java?

1054


What is ejb in java?

927


What is ejb and its architecture?

910