Easy learning with example program codes

Hibernate framework

Hibernate framework is an object-relational mapping library for the Java language. It is an open source persistent framework started by Gavin King in 2001. It provides the facility to map the java classes to relational database tables and Java data types to SQL data types.

Note: Hibernate framework is act as an intermediate layer between java objects and relational database.


hibernate 1

Advantages of Hibernate framework:

  1. Hibernate framework is an open source framework.
  2. Hibernate framework is a high performance framework because of its internal cache.
  3. It maps java classes to database tables using XML files and if any change is made to the database than we have to change these XML files only.
  4. It provides a database independent query language HQL (Hibernate Query Language).
  5. It provides the facility to create tables from your java application.
  6. No application server is required.

Next Topic: Hibernate architecture.
Previous Topic: ORM overview.

Related Topics:

How to build java project using ant in eclipse?
JAXB marshalling – convert java object to xml example.
How to create pdf file in java using iText jar?
Generics class example.
OGNL in struts 2.
Hibernate One-to-One Mapping using xml.
Send inline image in email using JavaMail API.
Quartz 2 JobListener example.


Industrial Training

We offers Placement Oriented Training on Java, Spring, JSF, Hibernate, PHP, AngularJS, Angular 4, PLSQL, Oracle BI Publisher etc. We also provides Online training, please mail us at


We also provides the Development services for Website Development , Java Development, PHP Development, Android App Development etc. You can contact us on

Copyright © 2019 CodesJava Protection Status SiteMap Reference: Java Wiki