How do you hibernate?



How do you hibernate?..

Answer / Ruchit Kumar Sajjan

To use Hibernate, you first need to configure it with the necessary settings and then define your database entities (i.e., Java classes that map to database tables). After that, you can perform CRUD operations using APIs provided by Hibernate, such as Session, Transaction, Query, Criteria, etc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is a zero to many relationship?

1 Answers  


What are the basic hibernate persistent annotations?

1 Answers  


What’s the difference between session.save() and session.saveorupdate() methods in hibernate?

1 Answers  


What is jpql in hibernate?

1 Answers  


How can we use new custom interfaces to enhance functionality of built-in interfaces of hibernate?

1 Answers  


What is hibernate architecture?

1 Answers  


What is the difference between merge and update method?

1 Answers  


Is sessionfactory a thread-safe object?

1 Answers  


Explain about hibernate proxy and how it helps in lazy loading?

1 Answers  


Name some important annotations used for Hibernate mapping?

1 Answers  


Is jpa better than hibernate?

1 Answers  


What is hibernate query language (hql)?

1 Answers  


Categories