What is ORM-SpringDataJPA (1)

What is ORM?

  ORM (Obejct-Relational Mapping) means object-relational mapping.

  In the process of object-oriented software development, objects can be mapped to relational databases through ORM.

  As long as there is a set of programs that can establish the association between objects and databases, the operating objects can directly operate the database. It can be said that this set of programs implements ORM object-relational mapping.

 

Why use ORM?

  When implementing an application, you may write a lot of data access layer code, save data from the database, modify data, delete data, and these codes are repeated.

  Using ORM will greatly reduce repetitive code.

  Object-relational mapping, or ORM for short, mainly implements data mapping of program objects to relational databases.

 

What are the common ORM frameworks?

  Common ORM frameworks: Mybatis, Hibernate, Jpa

 

Guess you like

Origin www.cnblogs.com/guancangtingbai/p/12680234.html