Hibernate Questions on Important Differences for Self Assessment

These are some of the commonly asked questions to check if you know the differences between important concepts or APIs in Hibernate. This may contain beginner to advanced level questions.

 

  1. Differentiate between entities and value types in Hibernate.

  2. What is the difference between save() and persist() methods in Hibernate?

  3. What is the difference between get and load methods in hibernate?

  4. What is the difference between update and merge methods in Hibernate?

  5. What is difference between openSession and getCurrentSession?

  6. What is the difference between the update() and lock() methods?

  7. What’s difference between managed associations and hibernate associations?

  8. What is the difference between first level cache and second level cache in Hibernate?

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!