Tuesday, 13 February 2018

What is Hibernate and its advantages?

Hibernate is an Object-Relational Mapping (ORM) solution for JAVA and it is open source persistent framework. Hibernate maps Java classes to db tables and Java data types to SQL data types.
The framework helps to map plain java object to relational database table using xml configuration file.
Advantages
·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.
.Perform basic CURD operations.
.Dirty checking, lazy association fetching.

No comments:

Post a Comment