Hibernate Study Notes (1) --- Quick Start and preparation of hibernate,

Source: Internet
Author: User

Hibernate Study Notes (1) --- Quick Start and preparation of hibernate,
Persistence Layer: stores data in memory on disks and other storage devices. Persistent Object: refers to the business object that has been stored in the database with disk protection. The classic software application architecture (three-tier structure)

In the three-tier structure, because the business logic is not only responsible for the business logic, but also responsible for the relevant database operations, in order to better develop the business logic, a new, independent persistence layer is formed, after persistence is added, a layer-4 structure is formed.

Hibernate is a lightweight framework of open-source object-relational ing (ORM). It encapsulates JDBC and developers use the object-oriented idea for persistent layer development, operate the database. How hibernate works

Hibernate development preparation hibernate Development Kit official website download: http://hibernate.org/orm/hibernatejarjar

Deploy the hibernate development environment in Eclipse. 1. Create a webproject. 2. Import the required jar package of hibernate to the lib directory. 3. Create the hibernate. cfg. xml development environment in the src directory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.