当前位置:网站首页>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 .
边栏推荐
- Development of trading system (XI) -- Introduction to quickfix
- Hello CTP (III) - CTP quotation API
- 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
- 文本关键词提取:ansj
- 微信小程序父子组件之间传值
- LabVIEW开发气体调节器
- JS arrow function
- 如何筛选出和产品相关的词,精准排除掉无效词
- mysql的tinyint字段类型判断的疑惑
- SQL, CTE, flg case problems
猜你喜欢
Error 1062 is reported during MySQL insertion, but I do not have this field.
【openwrt】推荐一个国内开发的openwrt的版本,iStoreOS简介,非常好用,主要是做了一些优化。解决了汉化的问题。
Hello CTP (IV) - CTP transaction API
Anaconda安装+TensorFlow安装+Keras安装+numpy安装(包含镜像和版本信息兼容问题)
"How to carry out industrial positioning" in local / Park industrial planning
MySQL插入过程报错1062,但是我没有该字段。
地方/園區產業規劃之 “ 如何進行產業定比特 ”
Changsha's "talent seeking": "making efforts" and "making practical moves" go hand in hand, "rapid development" and "slow life" go hand in hand
Laravel document sorting 4. Controller
Simple integration of client go gin -update
随机推荐
Finereport displays and hides column data according to conditions
[openwrt] we recommend a domestically developed version of openwrt, an introduction to istoreos. It is very easy to use. It is mainly optimized. It solves the problem of Sinicization.
ThinkPHP is integrated with esaywechat. What's wrong with wechat payment callback without callback?
Laravel document sorting 4. Controller
95% of programmers fish here
Sourcetree pulls the code and prompts to fill in authentic, but the configuration cannot change the user
CMD operation MySQL in Windows
How to install opencv? Opencv download installation tutorial
代錶多樣性的彩色 NFT 系列上線 The Sandbox 市場平臺
@Requestbody solution get parameter is null
Basic use of OBS browser+ browser
MySQL插入过程报错1062,但是我没有该字段。
Should I use on or where for the left join
Cesium drag 3D model
Communication problems in parent and child components of uniapp
彻底理解数据库事务
Laravel document sorting 7. View
OBS Browser+浏览器的基本使用
讲座记录《多种空间大地测量技术的数据处理方法和应用》
如何筛选出和产品相关的词,精准排除掉无效词