Hibernate Interview Questions Series Part 5

This is the Series four of Hibernate Interview Questions 41. What is transactional write-behind? Hibernate uses a sophisticated algorithm to determine an efficient ordering that avoids database foreign key constraint violations but is still sufficiently predictable to the user. This feature is called transactional write-behind. 42. What are Callback interfaces? Callback interfaces allow the application … Read more

Hibernate Interview Questions Series Part 4

This is the Series four of Hibernate Interview Questions 31.What are the Collection types in Hibernate ? · Bag · Set · List · Array · Map 32.What are the ways to express joins in HQL? HQL provides four ways of expressing (inner and outer) joins:- · An implicit association join · An ordinary join … Read more

Hibernate Interview Questions Series Part 3

This is the Series three of Hibernate Interview Questions 21.How do you invoke Stored Procedures? { ? = call selectAllEmployees() } 22.Explain Criteria API Criteria is a simplified API for retrieving entities by composing Criterion objects. This is a very convenient approach for functionality like “search” screens where there is a variable number of conditions … Read more

Hibernate Interview Questions Series Part 2

This is the Series two of Hibernate Interview Questions 11.What role does the Session interface play in Hibernate? The Session interface is the primary interface used by Hibernate applications. It is a single-threaded, short-lived object representing a conversation between the application and the persistent store. It allows you to create query objects to retrieve persistent … Read more

Hibernate Interview Questions Series Part 1

This is the Series of Hibernate Interview Questions mostly asked in freshers and experienced level Series Oneof Hibernate Interview Questions 1.What is ORM ? ORM stands for object/relational mapping. ORM is the automated persistence of objects in a Java application to the tables in a relational database. 2.What does ORM consists of ? An ORM … Read more