当前位置:网站首页>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 .
边栏推荐
- IntStream API介绍
- Communication problems in parent and child components of uniapp
- "Renaissance" in the digital age? The bottom digital collection makes people happy and sad
- AI quantitative transaction (I) -- Introduction to quantitative transaction
- 彻底理解数据库事务
- 什么是存储引擎以及MySQL常见的三种数据库存储引擎
- BSC smart contract dividend mainstream currency | including marketing wallet | deflation | reflow | dividend free token | available for direct deployment
- 关于TCP连接四次握手(或者叫四次挥手)的详细总结
- Acmstreamopen return value problem
- Although the Internet in the traditional sense has long ceased to exist, this does not mean that the Internet has long disappeared
猜你喜欢
![[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

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

The 5th series of NFT works of missing parts was launched on the sandbox market platform

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

AI quantitative transaction (II) -- tushare financial data framework

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

Text keyword extraction: ansj

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

Smart wind power: operation and maintenance of digital twin 3D wind turbine intelligent equipment

无法安装redis接口
随机推荐
IntStream API介绍
升级cmake
The 5th series of NFT works of missing parts was launched on the sandbox market platform
彻底理解数据库事务
Flutter FittedBox组件
Openmmlab environment configuration
什么是存储引擎以及MySQL常见的三种数据库存储引擎
[proteus simulation] Arduino uno key controls the flashing increase / decrease display of nixie tube
i. Max development board learning record
A-table mouse over the display hand, the current line can be clicked
Flutter Builder & FutureBuilder组件
【LeetCode】143. 重排链表
关于TCP连接四次握手(或者叫四次挥手)的详细总结
PHP code audit 2 - these functions must be known and understood
Detailed explanation of flex attributes in flex layout
Leetcode points to the leetcode road of offering II 091 house painting [dynamic planning] heroding
UCLA | 用于黑盒优化的生成式预训练
Text keyword extraction: ansj
Doubts about judging the tinyint field type of MySQL
Coinlist queuing tutorial to improve the winning rate