Home Hibernate ORM Hibernate
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

ORM Hibernate

Advertisement
In this tutorial you will understand the concept of ORM.

ORM Hibernate

In this tutorial you will understand the concept of ORM.

What is ORM?

 ORM, also known as Object/Relational Mapping, is a programming technique, which is used in conversion of data from incompatible type to relational database. In terms of java, ORM is an automated persistence of objects.Actually, ORM is a technique that maps the data representation representation from an object model to the relational data model with SQL based schema.

Why do we use ORM?

ORM reduces overhead of your programming. In ORM we define the way of mapping of classes to table and also define the mapping of which property for which column.
In ORM we can use plain java object. It automatically generates required SQL for storing object. A good ORM contain feature of query language.

  • ORM provides less error-prone code
  • Optimised performance
  • It solves portability issues
  • It reduces development time

Need of ORM tool like hibernate?

Hibernate is open source ORM tool. ORM is technology to access the data from the database. With the help of ORM framework, business object is directly mapped to the database table.
Hibernate reduces the time to perform database operations. It is implemented by using simple POJOs.
ORM tools like hibernate provides following benefits: -

  • Improved performance-Lazy loading sophisticated caching, and Eager loading.
  • Improved Productivity: High-level object oriented API, Less Java code to write, No SQL to write.
  • Improved maintainability: less code to write.
  • Improved portability: generates database ?specific SQL.
Advertisement

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: June 25, 2012

Ask Questions?    Discuss: ORM Hibernate  

Post your Comment


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