Mybatis配置控制台输出SQL语句
2018-06-26 本文已影响0人
Mr_Erick
1. 设置日志输出级别 :
log4j.debug=true
log4j.rootLogger=debug, stdout
2. mybatis-config.xml配置文件添加配置 :

1. 设置日志输出级别 :
log4j.debug=true
log4j.rootLogger=debug, stdout
2. mybatis-config.xml配置文件添加配置 :