Most Frequently Asked Hibernate Interview Question Answer   - (11)


1 .    What is Hibernate Framework?

 

2 .   What is Java Persistence API (JPA)?

 

3 .   What are the important benefits of using Hibernate Framework?

 

4 .    What are the advantages of Hibernate over JDBC?

 

5 .     What is Hibernate SessionFactory and how to configure it?

 

6 .   What is difference between openSession and getCurrentSession?

 

7 .    What is difference between Hibernate Session get() and load() method?

 

8 .   What is hibernate caching? Explain Hibernate first level cache?

 

9 .   What are different states of an entity bean?

 

10 .   What is difference between Hibernate save(), saveOrUpdate() and persist() methods?

 

11 .    Why we should not make Entity Class final?