Why do we need mapping in hibernate?
Answer / Vaibhav Shrivastava
Mapping is needed in Hibernate to establish a connection between Java objects and the corresponding database tables. It allows Hibernate to understand how the data should be stored and retrieved from the database, simplifying the process of managing database interactions.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between eager and lazy loading?
Can we use multiple database in hibernate?
Define hibernate and hql?
How to implement one to many relationships with annotation?
What are the interfaces in hibernate?
What is difference between persistent and transient objects?
What is difference between opensession and getcurrentsession?
How properties of a class are mapped to the columns of a database table in hibernate?
What is a sessionfactory?
What is cascadetype in hibernate annotations?
How to achieve mapping in hibernate?
What is @transient in hibernate?