当前位置:网站首页>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 .
边栏推荐
- Hello CTP (II) -- Introduction to CTP
- Text keyword extraction: ansj
- SEO的5大关键指标:排名+流量+会话+停留时长+跳出率
- Coinlist queuing tutorial to improve the winning rate
- Flutter Builder & futurebuilder components
- WMS仓储管理系统的使用价值,你知道多少
- 讲座记录《惯性导航的新应用——惯性测量》
- Nodejs 通过Heidisql连接mysql出现ER_BAD_DB_ERROR: Unknown database 'my_db_books'
- 【LeetCode】22. bracket-generating
- 讲座记录《捷联惯导解算的历史及发展》
猜你喜欢

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

Simple integration of client go gin 11 delete

EasyRecovery15非常好用的电脑数据恢复软件

Hello CTP (IV) - CTP transaction API

小心被偷脸!天天用的人脸识别风险原来这么多?

Coinlist how to operate the middle lot number security tutorial

Cesium drag 3D model

How to draw an industry investment map

MySQL插入过程报错1062,但是我没有该字段。

AI quantitative transaction (II) -- tushare financial data framework
随机推荐
"Comment positionner l'industrie" dans la planification industrielle locale / parc
Communication problems in parent and child components of uniapp
@RequestBody解决获取参数为null
Coinlist queuing tutorial to improve the winning rate
Error 1062 is reported during MySQL insertion, but I do not have this field.
如何筛选出和产品相关的词,精准排除掉无效词
PHP code audit 1 - php Ini
如何绘制产业招商地图
什么是存储引擎以及MySQL常见的三种数据库存储引擎
95% of programmers fish here
AI quantitative transaction (II) -- tushare financial data framework
The 5th series of NFT works of missing parts was launched on the sandbox market platform
mysql的tinyint字段类型判断的疑惑
【LeetCode】143. 重排链表
PHP code audit 2 - these functions must be known and understood
Retrofit 源码分析
Numpy NP tips: squeeze and other processing of numpy arrays
讲座记录《多种空间大地测量技术的数据处理方法和应用》
Hello CTP (IV) - CTP transaction API
Lecture record: new application of inertial navigation - inertial measurement