Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
01Petard committed Nov 10, 2024
1 parent 9a07301 commit 4bf0556
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/开发/My Java Guide/My Java Guide - Spring.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public class Main {
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans.xsd">


<bean id="orders" class="com.company.spring5.bean.Orders" init-method="initMethod" destroy-method="destroyMethod">
Expand Down Expand Up @@ -1256,16 +1256,16 @@ MapperStatement对象的结构:

1. 全局配置文件

```xml
```
<settings>
<setting name="cacheEnabled" value="true/>
</settings>
```

2. 映射文件

```xml
使用<cache/>标签让mapper.xml映射文件生效二级缓存
```
使用<cache/>标签让mapper.xml映射文件生效二级缓存
```

## Mybatis一二级缓存的脏数据问题
Expand Down

0 comments on commit 4bf0556

Please sign in to comment.