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 |
How is hashset maintained in memory by java ?
whats the relation ship between LDAP and JNDI?
What is the enumerator of the java collection framework? : java collections
Difference b/w >> and >>> ?
what is the difference between through and throws?
how to deploy the web application ?
Q1. A. Write note on "The class path Environment Variable". B. Which are different kinds of source code? Q2. A. How to create an interface? B. Why convert an applet to an application? Q3. A. How to use Media tracker Class. B. How to use string tokenizer class. Q4. A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on "The properties class" Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
Should we create system software ( e.g operating system ) in java ?
httt method
Which of the following declaration is wrong? int i=45; float j = 45.0; double k=45.0;
what is difference between business deligate and session facade ?
what is jndi?