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 |
Is hibernate framework good?
What is persistent state?
What is transaction management in hibernate?
How can you share your views on mapping description files?
What are the three orm levels?
What is an example of a many to many relationship?
What is unidirectional and bidirectional in hibernate mapping?
What is the role played by sessionfactory interface in hibernate?
Why do we use criteria in hibernate?
What is orm tool?
What is metadata in hibernate?
How does hibernate mapping work?