File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
system-design/framework/spring Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ MySQL InnoDB 引擎通过 **锁机制**、**MVCC** 等手段来保证事务的
241241
242242** 不可重复读和幻读区别:**
243243
244- 不可重复读的重点是修改比如多次读取一条记录发现其中某些列的值被修改,幻读的重点在于新增或者删除比如多次读取一条记录发现记录增多或减少了 。
244+ 不可重复读的重点是修改比如多次读取一条记录发现其中某些列的值被修改,幻读的重点在于新增或者删除比如多次查询同一条查询语句(DQL)时,记录发现记录增多或减少了 。
245245
246246### 事务隔离级别有哪些?
247247
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ public Person personSingleton() {
125125- singleton : 唯一 bean 实例,Spring 中的 bean 默认都是单例的。
126126- prototype : 每次请求都会创建一个新的 bean 实例。
127127- request : 每一次 HTTP 请求都会产生一个新的 bean,该 bean 仅在当前 HTTP request 内有效。
128- - session : 每一次 HTTP 请求都会产生一个新的 bean,该 bean 仅在当前 HTTP session 内有效。
128+ - session : 每一个 HTTP Session 会产生一个新的 bean,该 bean 仅在当前 HTTP session 内有效。
129129
130130#### 2.5. ` @Configuration `
131131
You can’t perform that action at this time.
0 commit comments