本文介绍了不可重复读与脏读之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
来自此 Oracle Java教程:
From this oracle java tutorial:
脏读和不可重复读之间有什么区别?是不是同一回事?由于其他人的更新而读取了错误的结果?
What's the difference between a dirty read and the non-repeatable read? Is it not the same thing? reading the wrong result due to others' updating?
谢谢.
推荐答案
完全相同的页面解释了什么是脏读:
The exact same page explains what a dirty read is:
因此,不可重复读包含读取两个不同的提交值,而脏读包含读取尚未提交的值.完全不同.
So, non-repeatable read consists in reading two different committed values, whereas dirty read consists in reading a value that hasn't been committed yet. Quite different.
这篇关于不可重复读与脏读之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!