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...


Is it Mandatory to map each pojo class variable with table
column in Hibernate? Is there any alternative to skip some
of those? Thanks in advance...

Answers were Sorted based on User's Feedback



Is it Mandatory to map each pojo class variable with table column in Hibernate? Is there any altern..

Answer / simhanijagadeesh

good question...good question...we need all colunns
properties map in pojo.hbm.xml and pojo when and only we
need to create with that table creation.if you are doing
fetching data no need of all variables in pojo and hbm
file.good Question by you.....keep it up...I tested and
found in my real project...I will give you clear info on
this after verifying my project.

Is This Answer Correct ?    0 Yes 0 No

Is it Mandatory to map each pojo class variable with table column in Hibernate? Is there any altern..

Answer / shashi

No,its not mandatory to map each variable in class with table column in hibernate.

you can skip some of the those using trasient keyword from persisting into database

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java J2EE AllOther Interview Questions

What is the Spring2.5 MVC Navigation flow?

1 Answers   IBM,


What is an algorithm in java collection framework? : java collections

0 Answers  


What causes Out of Memory exception?

5 Answers   CTS,


Explain JSP life cycle?

2 Answers   Accenture,


can u draw class/object diagram for ATM

0 Answers   HCL, Zycus Infotech,


Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com

0 Answers  


what is the diffrence between insurance and telecom domain?

1 Answers  


Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?

0 Answers   Cap Gemini,


Which java collection class can be used to maintain the entries in the order in which they were last accessed?

0 Answers  


what is class/object diagram

3 Answers   Zycus Infotech,


what is the difference between banking and insurance domain?

2 Answers  


2. Write a interface "Car" with the following methods void setName(String) String getName() void setColor(String) String getColor() void setModel(long) long getModel()

1 Answers  


Categories