Home Freemagazine Issue6 Introduction to Hibernate
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

Introduction to Hibernate

Advertisement
When an application is developed, a major portion of that application involves the creation and maintenance of the persistence layer to store and retrieve objects from the database.

Introduction to Hibernate

       

 

When an application is developed, a major portion of that application involves the creation and maintenance of the persistence layer to store and retrieve objects from the database. Whenever any changes are made to the underlying database schema, it can be expensive to spread those changes to the rest of the application. To overcome this problem, a new technology is used called Hibernate.

Hibernate is an open-source object-relational mapping tool (ORM) that lets you develop persistent classes and objects in a relational database using following common Java idiom such as - association, inheritance, polymorphism, composition and the Java collections framework.

Features of Hibernate
Some of the main features of hibernate are listed below:

  • Hibernate works with classes and objects instead of queries and result sets. It reduces the development time as it supports inheritance, polymorphism, composition and the Java collection framework. So it is fully Object Oriented tool with less procedural.
  • Hibernate generates SQL expressions for Java. It relieves you from manual JDBC result set handling and object conversion, and keeps your application portable to all SQL databases.
  • It handles all create-read-updatedelete (CRUD) operations using simple API, and generates DDL scripts to create DB schema (tables, constraints,
    sequences).
  • Hibernate is Free under LGPL. It can be used to develop/package and distribute the applications for free.

Read more at:

http://www.javajazzup.com/issue6/page26.shtml

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 11, 2010

Ask Questions?    Discuss: Introduction to Hibernate  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
DMCA.com