Top 50 Hibernate Interview Questions


Top 50 Hibernate Interview Questions book contains basic to architect level Hibernate interview questions that an interviewer asks. Each question is accompanied with an answer so that you can prepare for job interview in short time.

We have compiled this list of Hibernate questions after attending dozens of technical interviews in top-notch companies like- Google, Facebook, Ebay, Amazon etc.

Often, these Hibernate questions and concepts are used in our daily programming work. But these are most helpful when an Interviewer is trying to test your deep knowledge of Hibernate.

Sample Questions:

What is the difference between a Set and a Bag in Hibernate?
How can we monitor the performance of Hibernate in an application?
How can we check if an Object is in Persistent, Detached or Transient state in Hibernate?
What are the different ORM levels in Hibernate?
What are the different ways to configure a Hibernate application?
What is Query Cache in Hibernate?
How will you order the results returned by a Criteria in Hibernate?
How does Example criterion work in Hibernate?
How does Transaction management work in Hibernate?
How can we mark an entity/collection as immutable in Hibernate?
What are the different options to retrieve an object from database in Hibernate?
How can we auto-generate primary key in Hibernate?
What is an Object Relational Mapping (ORM)?
What is the purpose of Configuration Interface in Hibernate?
What is Object Relational Impedance Mismatch?
What are the main problems of Object Relational Impedance Mismatch?
What are the key characteristics of Hibernate?
Can you tell us about the core interfaces of Hibernate framework?
How will you map the columns of a DB table to the properties of a Java class in Hibernate?
Does Hibernate make it mandatory for a mapping file to have .hbm.xml extension?
What are the steps for creating a SessionFactory in Hibernate?
Why do we use POJO in Hibernate?
What is Hibernate Query Language (HQL)?
How will you call a stored procedure in Hibernate?
What is Criteria API in Hibernate?
Why do we use HibernateTemplate?
How can you see SQL code generated by Hibernate on console?
What are the different types of collections supported by Hibernate?
What is the difference between session.save() and session.saveOrUpdate() methods in Hibernate?
What are the advantages of Hibernate framework over JDBC?
How can we get statistics of a SessionFactory in Hibernate?
What is the Transient state of an object in Hibernate?
What is the Detached state of an object in Hibernate?
What is the use of Dirty Checking in Hibernate?
What is the purpose of Callback interface in Hibernate?
What are the different types of Association mappings supported by Hibernate?
What are the different types of Unidirectional Association mappings in Hibernate?
What is Unit of Work design pattern?

Read the full book at www.amazon.com
Posted in Career, Hibernate, Interview, Java

Leave a Reply

Your email address will not be published. Required fields are marked *

*