Saturday, 23 November 2013

Hibernate Tutorials

                                               Hibernate 

Hibernate is an Object-Relational Mapping(ORM) solution for JAVA and it raised as an open source persistent framework created by Gavin King in 2001. It is a powerful, high performance Object-Relational Persistence and Query service for any Java Application.Hibernate is free software that is distributed under the GNU Lesser General Public License. Hibernate maps Java classes to database tables and from Java data types to SQL data types and relieve the developer from 95% of common data persistence related programming tasks. Hibernate sits between traditional Java objects and database server to handle all the work in persisting those objects based on the appropriate O/R mechanisms and patterns. 


Hibernate Advantages:

 1. Hibernate takes care of mapping Java classes to database tables using XML files and without writing any    line of code and manipulates Complex associations of objects of your database.

2. Provides simple APIs for storing and retrieving Java objects directly to and from the database. 

3. If there is change in Database or in any table then the only need to change XML file properties.

 4. Abstract away the unfamiliar SQL types and provide us to work around familiar Java Objects.

 5. Hibernate does not require an application server to operate.
Hibernate supports almost all the major RDBMS. Following is list of few of the database engines supported by Hibernate.
 1. HSQL Database Engine 
2.DB2
3. MySQL
 4. PostgreSQL
 5. FrontBase
 6. Oracle
 7. Microsoft SQL Server Database
 8. Sybase SQL Server
 9. Informix Dynamic Server 

 Hibernate supports a variety of other technologies, including the following: 
1.XDoclet Spring
 2.J2EE 
3. Eclipse plug-ins
 4.Maven

The Hibernate architecture is layered to keep you isolated from having to know the underlying APIs. Hibernate makes use of the database and configuration data to provide persistence services (and persistent objects) to the application.



Downloading Hibernate:
 It is assumed that you already have latest version of Java is installed on your machine. Following are the simple steps to download and install Hibernate on your machine.
 1. Make a choice whether you want to install Hibernate on Windows, or Unix and then proceed to the next step to download .zip file for windows and .tz file for Unix.
 2. Download the latest version of Hibernate Click Here To Download

0 comments:

Post a Comment