Learnitweb

Category: Hibernate tutorial

  • Important interfaces of Hibernate

    Following are the most important interfaces of Hibernate which act as base for using Hibernate: 1. org.hibernate.SessionFactory SessionFactory includes all of the metadata about Object/Relational Mapping. SessionFactory is a thread-safe and immutable. The JPA equivalent of SessionFactory is EntityManagerFactory. A SessionFactory is very expensive to create. So an application should have only one SessionFactory for…

  • Introduction to Hibernate Framework

    1. Introduction In this tutorial, we’ll discuss about Hibernate. This tutorial should be considered as an introduction to Hibernate framework. We’ll discuss the problems which Hibernate solves and its capabilities. Hibernate is an Object/Relational Mapping solution for Java environments. This Object/Relational Mapping refers to the technique of mapping data from an object model representation to…