Mybatis---在控制台打印sql语句

在mybatis主配置文件中mybatis.xml的<configuration>标签中加入
1 <settings>
2         <setting name="logImpl" value="STDOUT_LOGGING"/>
3     </settings>

猜你喜欢

转载自www.cnblogs.com/yanpingping/p/11013994.html