java基础学习

配合mybatis打印SQL

2018-10-30  本文已影响7人  迷糊银儿

pay-dao/src/main/resources/mybatisConfig/spring_database.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
<settings>

<setting name="logImpl" value="STDOUT_LOGGING" />
</settings>
</configuration>

上一篇 下一篇

猜你喜欢

热点阅读