Overview of the Hibernate framework

Source: Internet
Author: User

One: Hibernate

1. A persistent framework (the actual principle: JDBC is encapsulated at the bottom)

Persistence of objects: two angles of understanding,

1). Narrow: Save the object into the database;

2) Generalized: includes various operations related to the database

For example: Save, Update, clear, find, load

☆ Load: Indicates that a particular oid.j is the loading of an object from the database into memory.

#OID表示对象术语中的对象标识 (Object identifer)

2. Lightweight ORM Framework (ORM is the soul of hibernate)

ORM (Object Relation Mapping) Object Relational Mapping

-orm is primarily used to solve object-relational mappings

-orm thought: The operation of converting a database operation to an object (established entity Class)

-orm uses metadata to describe the details of an object-relational map, which is typically in XML format

Metadata: Metadata is the data used to define the data. For example, there is a student information record that includes the name of the field, age, gender (male), class, and so on, so the name, ages, male, and class are metadata. By their description, a data record of the student's information is generated;

Overview of the Hibernate framework

Related Article

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.