Ibaits输出sql语句

来源:互联网 发布:现在的淘宝店好做吗 编辑:程序博客网 时间:2024/05/22 05:02

org.apache.ibatis.logging.LogFactory.useStdOutLogging();

在执行查询前添加该代码就OK了~~~

原创粉丝点击