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.


Sign Up/ Sign In
Ask a Question

Copyright © 2018 CodesJava Protection Status SiteMap Reference: Java Wiki