Thursday 25 September 2014

Introduction of Hibernate

Hibernate is an Object Relational Mapping solution for Java and it raised as an open source persistent framework created by Gavin King with with colleagues from Cirrus Technologies in year 2001 as an alternative to using EJB2-style entity beans. Its original goal was to offer better persistence capabilities than offered by EJB2 by simplifying the complexities and supplementing missing features.


Wednesday 24 September 2014

What is ORM?

ORM stands for Object Relational Mapping.
ORM is a programming technique that supports the conversion of incompatible types in object-oriented programming languages, specifically between a data store and programming objects.

Why ORM?


When we work with an object-oriented systems, there's a mismatch between the object model and the relational database. RDBMSs represent data in a tabular format whereas object-oriented languages, such as Java or C# represent it as an interconnected graph of objects.

Well, in simple thing, an Object - Relational Mapping tool basically takes away the pain of Writing SQL. As We know, In Object Oriented programming Object is a center point. So, we tend to think in terms of Object. An ORM tool keeps your object model separate from your persistence model.

What is ORM?

ORM is a programming technique for converting data between relational databases and object oriented programming languages such as, Java, C# etc. This creates, in effect, a "Virtual Object Database" that can be used from within the programming language.