1.Hibernate Introduction

Source: Internet
Author: User

1. Introduction to the framework:Definition: A set of ORM frameworks developed based on Java language; advantages: A. easy to develop;          B. Significantly reduce the amount of code; C. Slightly higher performance (can not compare with the database master, compared to the general database user-written code has some advantages); d. Cross-database platform; ORM (Object Relation Mapping):
Object Entity class Property Data type Object
Relation Table name Field Data type Recording
Mapping Map the object type data to a relational database so that you can manipulate only the objects without manipulating the database.
The 2.Hibernate operation process is as follows: 3.Hibernate Architecture: Noun interpretation (refer to the intermediate Architecture diagram): Transient object: Instantaneous objects; Persistent object: Persistent objects (physical storage media such as hard disks); Session:hibernate session; session Factory: Conversation Factory, Process-level objects (heavyweight); Transation factory:s transaction Factory; Connection provider: third-party data source; JNDI (Java naming Director Interface): Provides a resource directory; JDBC (Java Data Basic Connection): Database link; JTA (Java transation API): cross-database things; 4. Nature of Hibernate: 5. Other persistent layer frameworks on the market: jdbc,hibernate,jpa,ibatis/mybatis,springjdbctemplate

1.Hibernate Introduction

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.