Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Introduction to Hibernate


May 17, 2021 Hibernate


Table of contents


Brief introduction

Hibernate is an open source object relationship framework created by Gavin King in 2001. It is powerful and efficient to build Java applications with relationship object persistence and query services.

Hibernate maps Java classes to database tables, from Java data types to SQL data types, and frees developers from 95% of public data continuity programming.

Hibernate is a bridge between traditional Java objects and database servers that handle objects based on O/R mapping mechanisms and patterns.

Introduction to Hibernate

Hibernate advantage

  • Hibernate uses XML files to handle mapping Java categories into database tables without writing any code.
  • Provides a simple APIs for storing and retrieving Java objects directly in the database.
  • If there is a change in the database or in any other table, you only need to change the XML file properties.
  • Abstract unfamiliar SQL types and provide us with Java objects that are familiar at work.
  • Hibernate does not require an application server to operate.
  • Manipulate complex associations of objects in your database.
  • Minimize intelligent extraction policies with access to databases.
  • Provide simple data inquiries.

The supported database

Hibernate supports almost all major RDBMS. Here are some database engines supported by Hibernate.

  • HSQL Database Engine
  • DB2/NT
  • Mysql
  • PostgreSQL
  • FrontBase
  • Oracle
  • Microsoft SQL Server Database
  • Sybase SQL Server
  • Informix Dynamic Server

Supported technologies

Hibernate supports a wide variety of other technologies, including the following:

  • XDoclet Spring
  • J2ee
  • Eclipse plug-ins
  • Maven