Mybatis控制台打印sql
mybatis-config.xml配置如下:
<configuration> <settings> <setting name="lazyLoadingEnabled" value="false" /> <setting name="logImpl" value="STDOUT_LOGGING" /> </settings> </configuration>
记录点滴,沉淀自己,汇聚成海,重新再出发
mybatis-config.xml配置如下:
<configuration> <settings> <setting name="lazyLoadingEnabled" value="false" /> <setting name="logImpl" value="STDOUT_LOGGING" /> </settings> </configuration>