打印SQL
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
yml里面配置了mybatis.xml
文件
<configuration>
<settings>
<setting name="mapUnderscoreToCamelCase" value="true" />
<!-- 控制台打印SQL语句 -->
<setting name="logImpl" value="STDOUT_LOGGING" />
</settings>
</configuration>