当前位置:网站首页>What is data persistence?
What is data persistence?
2022-06-25 04:28:00 【Life is sweet and good luck is good】
1. What is persistence ?
In a narrow sense :“ Persistence ” It only means to save the domain object permanently to the database ;
In a broad sense ,“ Persistence ” Including various operations related to database .
● preservation : Permanently save the domain object to the database .
● to update : Update the status of domain objects in the database .
● Delete : Delete a domain object from the database .
● load : According to the specific OID, Load a domain object from the database into memory .
● Inquire about : According to specific query conditions , Load one or more domain objects that meet the query conditions from the database into the internal memory .
2. Why persistence ?
Persistence technology encapsulates the details of data access , Provide object-oriented services for most business logic API.
● Through Persistence technology, you can reduce the number of times to access database data , Increase application execution speed ;
● High code reusability , Able to complete most database operations ;
● Loose coupling , Make persistence independent of the underlying database and the upper business logic implementation , When changing the database, you only need to modify the configuration file without modifying the code .
边栏推荐
- Laravel document sorting 1. Installation and Preliminary Configuration
- 1. first knowledge of chromatic harmonica
- Simple integration of client go gin 11 delete
- 【LeetCode】148. 排序链表
- 2. play the chromatic harmonica
- "Comment positionner l'industrie" dans la planification industrielle locale / parc
- Simple integration of client go gin -update
- How to draw an industry investment map
- 升级cmake
- Win10 environment phpstudy2016 startup failure record
猜你喜欢
Zoran community

1、项目第二阶段——用户注册和登陆

论文笔记: 多标签学习 ESMC (没看懂, 还没写出来, 暂时放这里占个位置)

讲座记录《惯性导航的新应用——惯性测量》

Laravel document sorting 4. Controller
![[proteus simulation] Arduino uno key controls the flashing increase / decrease display of nixie tube](/img/28/33f3e9736a68439b5bcdc4e75c939c.png)
[proteus simulation] Arduino uno key controls the flashing increase / decrease display of nixie tube

什么是存储引擎以及MySQL常见的三种数据库存储引擎

"How to carry out industrial positioning" in local / Park industrial planning

Can Navicat directly operate the Android database SQLite

Nodejs 通过Heidisql连接mysql出现ER_BAD_DB_ERROR: Unknown database 'my_db_books'
随机推荐
Where is the red area of OpenCV?
Hot and cold, sweet and sour, want to achieve success? Dengkang oral, the parent company of lengsuanling, intends to be listed on the main board of Shenzhen Stock Exchange
讲座记录《捷联惯导解算的历史及发展》
Development of trading system (XII) - Official quickfix document
Hello CTP (II) -- Introduction to CTP
Laravel document sorting 10. Request life cycle
"How to carry out industrial positioning" in local / Park industrial planning
【LeetCode】143. 重排链表
讲座记录《惯性导航的新应用——惯性测量》
La gamme NFT Color, qui représente la diversité, est en ligne sur la plate - forme du marché Sandbox
Error 1062 is reported during MySQL insertion, but I do not have this field.
5 key indicators of SEO: ranking + traffic + session + length of stay + bounce rate
Nodejs connects to MySQL through heidisql, and ER appears_ BAD_ DB_ ERROR: Unknown database 'my_ db_ books'
L'épée leetcode fait référence au chemin leetcode de l'offre II 091 pour peindre la maison [planification dynamique] heroding
openmmlab-环境配置
无法安装redis接口
LeetCode 剑指Offer II 091 粉刷房子[动态规划] HERODING的LeetCode之路
"Renaissance" in the digital age? The bottom digital collection makes people happy and sad
A-table mouse over the display hand, the current line can be clicked
关于TCP连接四次握手(或者叫四次挥手)的详细总结