Quantcast
Channel: CodeSection,代码区,SQL Server(mssql)数据库 技术分享 - CodeSec
Viewing all articles
Browse latest Browse all 3160

设置mybatis显示sql语句的方式与比较 sql sql语句 SQLServer mybatis设置

$
0
0
设置mybatis显示sql语句的方式与比较
目前所掌握的有两种:
一种是在log4j的配置文件log4j.properties中,
将log4j.rootLogger 设置为 DEBUG;
第二种是在mybatis核心配置文件中,加入

以目前的水平,个人倾向于后者, 在于其输出的信息, 流程更为清晰, 内容更为精炼.


Viewing all articles
Browse latest Browse all 3160

Trending Articles