Coding Interview Club

Prepare for coding interviews in simple and structured steps

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2405 of /home/hearti37/public_html/codinginterviewclub/includes/

Hibernate Questions for Interview and Self Assessment - Differences

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?
Back to Top