What is orm ?, Orm idea?

Source: Internet
Author: User

What is orm ?, Orm idea?
What is orm?

1. hibernate uses the orm idea to perform crud operations on the database

2. When learning javabean in the web stage, the more correct name is: entity class

3. orm: object relational mapping object relationship ing

* O: Object in the Object-Oriented field (JavaBean Object)

* R: Relational database Relational (table structure)

* M: ing (XML configuration file)

 

(1) Let the entity class correspond to the database table one-to-one

First let the object class correspond to the database table

Let the object class attributes correspond to the fields in the table.

(2) You do not need to directly operate the database table and directly operate the object class objects corresponding to the table.

What is ORM (Object relationship ing)

4. Create an object class object directly, that is, create a table corresponding to it in the database.

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.