今天想打印mybatis的sql,按照原来的思路配置,可是无法实现,最后,上网搜索,
从下面方法中找到,
参考网址:
http://843977358.iteye.com/blog/2259796
从下面方法中找到,
<?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>
<properties>
<property name="dialect" value="mysql" />
</properties>
<settings>
<setting name="logImpl" value="LOG4J" />
</settings>
</configuration>
参考网址:
http://843977358.iteye.com/blog/2259796