mybatis 控制台打印sql脚本

在mybatis-config.xml文件中加一句

<setting name="logImpl" value="STDOUT_LOGGING" />
原文地址:https://www.cnblogs.com/xiaxinggege/p/9181757.html