From b84edb180e661bc18177f48b1a20d402f4e80cd1 Mon Sep 17 00:00:00 2001
From: luoxiang <2806718453@qq.com>
Date: Sat, 5 Jan 2019 09:36:34 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0README.md?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
spring/spring-druid-mybatis/README.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/spring/spring-druid-mybatis/README.md b/spring/spring-druid-mybatis/README.md
index ee1bf86..7523a69 100644
--- a/spring/spring-druid-mybatis/README.md
+++ b/spring/spring-druid-mybatis/README.md
@@ -106,6 +106,8 @@
```
+
+
#### 2、在web.xml 进行如下配置
```xml
@@ -175,6 +177,8 @@
```
+
+
#### 3、在resources文件夹下新建数据库配置文件jdbc.properties
```properties
@@ -189,6 +193,8 @@ oracle.username=用户名
oracle.password=密码
```
+
+
#### 4、在resources文件夹下创建springApplication.xml 配置文件和druid.xml配置文件
```xml
@@ -302,6 +308,8 @@ oracle.password=密码
```
+
+
#### 5、新建mybtais 配置文件 更多settings配置项可以参考[官方文档](http://www.mybatis.org/mybatis-3/zh/configuration.html)
```xml
@@ -325,6 +333,8 @@ oracle.password=密码
```
+
+
#### 6、新建查询接口及其对应的mapper文件
```java
@@ -372,6 +382,8 @@ public interface OracleDao {
```
+
+
#### 7.新建测试controller进行测试
```java
@@ -433,6 +445,8 @@ public class OracleController {
```
+
+
#### 8、druid 监控页面访问地址http://localhost:8080/druid/index.html
