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 container?

1154


What is an ejb container?

960


What is @resource in java?

996


What are stateless functions?

955


What is ejb and its properties?

972


What is stateful or stateless?

973


What is a ejb container?

962


What is ejb home object?

1025


What is difference between ejb 1.1 and ejb 2.0?

1001


What is the difference between ejb and java beans?

1007


Is functional programming stateless?

1001


How to determine, that beans are TX or not?

2070


Is soap stateless or stateful?

1006


List some key actors in persistence api.

1082


Is ejbCreate() method mandatory while defining a Session Bean?

1070