Why do we need mapping?



Why do we need mapping?..

Answer / Deepak Kumar Swarooop

Mapping is necessary in Hibernate because it helps bridge the gap between Java objects (POJOs) and relational databases. Without proper mapping, Java objects cannot be easily saved to or retrieved from a database, making data persistence complex and error-prone.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What are bidirectional relationships?

1 Answers  


What is orm and odm?

1 Answers  


Explain what is a dialect?

1 Answers  


Is a relationship in hibernate?

1 Answers  


What is hibernatetemplate?

1 Answers  


What are the identified limitation of hibernate?

1 Answers  


How long will it take to learn hibernate?

1 Answers  


What is many to one mapping in hibernate?

1 Answers  


What the benefits are of hibernate over jdbc?

1 Answers  


What is fetchtype in hibernate?

1 Answers  


What is hibernate inheritance?

1 Answers  


Why do we use hibernate?

1 Answers  


Categories