What is mapping in hibernate?



What is mapping in hibernate?..

Answer / Shilpi Sharma

"Mapping in Hibernate refers to the process of defining a relationship between Java classes and database tables. It involves specifying how each Java class corresponds to a table, the properties of the class correspond to columns of the table, and relationships between classes correspond to foreign key constraints. This is typically done using XML mapping files or Annotations."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is the file extension used for hibernate mapping file and hibernate configuration file?

1 Answers  


Explain the advantages of hibernate?

1 Answers  


What are the technologies that are supported by hibernate?

1 Answers  


What are the ways to access hibernate by using spring?

1 Answers  


What is the dirty checking in hibernate?

1 Answers  


What is the importance of hibernate mapping file?

1 Answers  


What is hibernate mapping file?

1 Answers  


What are extension interfaces?

1 Answers  


What is entity manager in hibernate?

1 Answers  


How many steps are in orm?

1 Answers  


What is a configuration in hibernate?

1 Answers  


What is second level cache in hibernate?

1 Answers  


Categories