Thursday 19 January 2017

What is ORM?

What is ORM?
ORM stands for Object-Relational Mapping (ORM) is a programming technique for converting data between relational databases and object oriented programming languages such as Java, C# etc.

Hibernate is an Object-Relational Mapping (ORM) solution for JAVA and rose as an open source persistent framework.  Hibernate maps Java classes to db tables and Java data types to SQL data types.



Hibernate Advantages:

·Hibernate takes care of mapping Java classes to database tables using XML files and without writing any line of code.
·Provides simple APIs for storing and retrieving Java objects directly to and from the database.
·If there is change in Database or in any table then the only need to change XML file properties.
·Hibernate does not require an application server to operate.
·Provides simple querying of data.


No comments:

Post a Comment