Hibernate Interview Questions and Answers

Hibernate Interview Questions and Answers

Hibernate is an open source simple ORM tool. It is a java framework that simplifies the development of java application to interact with the database. Hibernate not only takes care of the mapping from Java classes to database, but also provides data query and retrieval facilities.

What is hibernate?

What is ORM?

What is Hibernate Framework?

What is Java Persistence API (JPA)?

What are the important benefits of using Hibernate Framework?

What are the advantages of Hibernate over JDBC?

What is hibernate configuration file?

What is hibernate mapping file?

What are the core interfaces of Hibernate?

What is SessionFactory?

What is Session?

What the states of object are in hibernate?

What is Hibernate Session and how to get it?

What is hibernate caching? Explain Hibernate first level cache?

What are different states of an entity bean?

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

What are the collection types in Hibernate?

What is the benefit of native sql query support in hibernate?

What is Named SQL Query?

What are the benefits of Named SQL Query?

What is the benefit of Hibernate Criteria API?

How to integrate Hibernate and Spring frameworks?

No Comments

Post a Reply