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 different types of classes implemented in the set interfaces? : java collections
How do you create UserTransaction Object? How do you rollback a transaction in a method?
waht are architecture of web application?
What are the uses of the set interfaces in the java collections? : java collections
What are the considerations to be made in case of loops in java ?
What is the difference between Eclipse and MyEclipse?
lll
What is difference between Application Server and Web Server?
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...
wnet use DAO design in u r project?
What is markup language?
What is an algorithm in java collection framework? : java collections