Hibernate development environment to build

Today, let's talk about the construction of the hibernate environment
0: hibernate overview
The hibernate framework is a framework for the persistence layer (data access processing layer) based on the ORM idea. It is an encapsulation of JDBC technology. Being able to operate entity classes is equivalent to operating a database.
ORM: Object Relational Mapping
O: object, entity class
R: relational database table
M: One-to-one correspondence between entity classes and database tables
1: Getting started with hibernate
1.1 Development kit download, introduction
After decompression, as shown in the figure:
3. Construction of the development environment
3.1. Copy the necessary JAR package to the lib (manually created) folder of the project
Database driver package:

hibernate-release-5.0.7.Final\lib\required\*.jar as shown:

logging package

3.2 Select all jar packages, right-click Build Path -> Add to build path

According to the above steps, the development environment of Hibernate is completed. It is the first time to write a blog. There are still many shortcomings. Please forgive me.
About the mapping config file and the main config file will be updated tomorrow.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324724617&siteId=291194637