How does hibernate work?



How does hibernate work?..

Answer / Deepshikh Singh

Hibernate works by translating Java objects (entities) to SQL statements for a relational database and back, reducing the need for explicit SQL programming. It uses a Session object to perform CRUD operations on entities, using a Connection obtained from a ServiceRegistry or a Datasource. Hibernate also provides support for caching, transactions, and querying.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

Is hibernate framework good?

1 Answers  


What is persistent state?

1 Answers  


What is transaction management in hibernate?

1 Answers  


How can you share your views on mapping description files?

1 Answers  


What are the three orm levels?

1 Answers  


What is an example of a many to many relationship?

1 Answers  


What is unidirectional and bidirectional in hibernate mapping?

1 Answers  


What is the role played by sessionfactory interface in hibernate?

1 Answers  


Why do we use criteria in hibernate?

1 Answers  


What is orm tool?

1 Answers  


What is metadata in hibernate?

1 Answers  


How does hibernate mapping work?

1 Answers  


Categories