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.