zl程序教程

您现在的位置是:首页 >  后端

当前栏目

Mybatis加入日志

mybatis日志 加入
2023-09-11 14:21:11 时间

*在mybatis-config.xml核心配置文件中加入如下设置,在configration中标签中加入

1     <!--打印日志,方便看输出SQL -->
2     <settings>
3         <setting name="logImpl" value="STDOUT_LOGGING" />
4     </settings>