الجمعة، 20 مارس 2015

Hibernate


Hibernate 

is an object-relational mapping library for the Java language,
providing a framework for mapping an object-oriented domain model 
to a traditional relational database.

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.
  • Abstract away the unfamiliar SQL types and provide us to work around familiar Java Objects.
  • Hibernate does not require an application server to operate.
  • Manipulates Complex associations of objects of your database.
  • Minimize database access with smart fetching strategies.
  • Provides Simple querying of data.

Supported Databases:

Hibernate supports almost all the major RDBMS. Following is list of few of the database engines supported by Hibernate.
  • HSQL Database Engine
  • DB2/NT
  • MySQL
  • PostgreSQL
  • FrontBase
  • Oracle
  • Microsoft SQL Server Database
  • Sybase SQL Server
  • Informix Dynamic Server

Hibernate Question: only one session factory created for each database. Is this correct statement?
If you Know tell us your Answer
Mahmoud Elasry
Java and Oracle ADF Developer

0 التعليقات:

إرسال تعليق