5--Hibernate basic Usage--1 1 object/relational database mapping (ORM)

Source: Internet
Author: User

The full name of the ORM is Object/relation Mapping, which is the object/relational database mapping. ORM can be understood as a specification that outlines the basic characteristics of such frameworks: the completion of object-oriented programming languages to relational database mapping . When the ORM framework completes the mapping, it can take advantage of the simple usability of the object-oriented programming language and the technical advantages of the relational database. The ORM framework can therefore be used as a bridge between applications and databases.

When using an object-oriented programming language for application development, object-oriented analysis (OOA), Object-oriented design (OOD), Object-oriented programming (OOP) has been used since the beginning of the project, but when access to the persistent layer database, it must be returned to the relational database access mode. It's a very bad feeling. A tool is needed to wrap relational databases into object-oriented models, which are ORM frameworks .

With an ORM framework, applications no longer have direct access to the underlying database, but instead manipulate persisted objects in an object-oriented manner, while the ORM framework translates these object-oriented operations into the underlying SQL operations.

The only function of the ORM tool is to convert the persisted object to the operation of the database by saving, deleting, modifying and so on. From then on, programmers can manipulate persisted objects in an object-oriented manner, while the ORM Framework is responsible for translating the corresponding SQL operations.

La La la

5--Hibernate basic Usage--1 1 object/relational database mapping (ORM)

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.