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 |
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?
What are the classes in the java collection framework? : java collections
What are the different types of collections views being provided by the map interface? : java collections
where is JNDI being used in java platform?
what is hibernate ceteria ?
what is the difference between checked and unchecked Exceptions?
In HashSet duplicates are allowed while adding to the HashSet, but while retreiving the object from HashSet is not shown the duplicate values, WHY ?
httt method
whats the relation ship between LDAP and JNDI?
VSS Objectives
Write a interface "CarOperations" with the following methods void turnOnEngin() void turnOffEngin() void turnOnLigths() void turnOffLights() void turnLeft() void turnRight() void accelerate() void deaccelerate() void putBreaks() void releaseBreaks()