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

What is ejb technology?

947


Differentiate ‘Stateful Session’ from ‘Entity Bean’ ?

1091


Is having static initializer blocks legal in ejb?

994


What is stateless and stateful session bean in ejb?

1005


Is functional programming stateless?

1054


Is soap stateless or stateful?

1055


How is ejb different from java beans?

1030


What’s the difference between hibernate and ejb 3?

1066


What are the benefits of ejb?

1071


What do you mean by ejb?

1036


What is a local interface?

1221


What are the different types of ejb?

1044


What are stateless functions?

1011


What optimization could I use if the ejb container is the only point of write access to the database?

1061


Define Context?

1133