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
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 |
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 |
What are the interfaces in java collections? : java collections
Which of the following declaration is wrong? int i=45; float j = 45.0; double k=45.0;
how to deploy the web application ?
VSS Objectives
How to implement or use the singleton class in java?
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
waht are architecture of web application?
What do you understand by synchronization? Why is it important?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What are the main classes of the list interfaces? : java collections
when exactly should we use throws ,and wen exactly should we use the try and catch for exceptional handling