What is Hibernate? Hibernate framework architecture and framework principle analysis

What is Hibernate?

The direct translation is called "hibernation". The functionality provided by the framework is data persistence operations.

Hibernate is a lightweight, built-in framework with ORM design. This framework is non-intrusive. It greatly improves development efficiency. The framework provides caching mechanism and powerful query capabilities. Supports access to multiple databases. And to some extent achieve 0SQL development. Can quickly achieve database porting.

Hibernate is an open source object-relational mapping framework. It has a very lightweight object encapsulation for JDBC. It maps POJOs to database tables. It is a fully automated orm framework. hibernate can automatically generate SQL statements. Automated execution allows Java programmers to manipulate object databases using object programming thinking as they wish. Hibernate can be used in any application that uses JDBC, either in Java client applications or in Servlet/JSP web applications. The most revolutionary is that Hibernate can replace CMP in the J2EE architecture of EJB applications. , the task of completing data persistence.

Features:

Simplify development by converting operations on the database to operations on Java objects. Modify the corresponding record data in the database table by modifying the properties of a "persistent" object.

Provides two levels of caching for threads and processes to improve application performance.

There are rich mapping methods to convert the relationship between Java objects to the relationship between database tables.

Mask the differences between different database implementations. In Hibernate, you only need to specify the currently used database in the form of "dialect", and you can generate suitable SQL statements based on the actual situation of the underlying database.

Non-intrusive: Hibernate does not require a persistent class to implement any interface or inherit any class, POJO.

What is persistence?

In the narrow sense, it refers to the physical storage of temporary data.
In a broad sense, it refers to the access operation of data, that is, CRUD operation.

Framework architecture

What is Hibernate? Hibernate framework architecture and framework principle analysis

Frame principle

What is Hibernate? Hibernate framework architecture and framework principle analysis

Hibernate mapping rules

What is Hibernate? Hibernate framework architecture and framework principle analysis

PCB Push Wire Connectors

Pcb Push Wire Connectors,Multipolar Wire Connectors,Board Connector,Smd Connector

Jiangmen Krealux Electrical Appliances Co.,Ltd. , https://www.krealux-online.com