spring +mybatis+log4J日志输出问题

帅的不像实力派 发布于 2017/01/24 14:05
阅读 850
收藏 0

5] DEBUG com.xwtech.cyserver.dao.CyBusinessRelationsMapper.selectBizRelBillByTypeAndId - ==> Parameters: ORDER(String), 12552898(BigDecimal)
14:04:00.214 [DubboServerHandler-169.254.75.97:20880-thread-115] DEBUG com.xwtech.cyserver.dao.CyBusinessRelationsMapper.selectBizRelBillByTypeAndId - <==      Total: 3
14:04:00.214 [DubboServerHandler-169.254.75.97:20880-thread-115] DEBUG org.mybatis.spring.SqlSessionUtils - Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@42503a9b]
14:04:00.214 [DubboServerHandler-169.254.75.97:20880-thread-115] DEBUG org.mybatis.spring.SqlSessionUtils - Fetched SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@42503a9b] from current transaction
14:04:00.214 [DubboServerHandler-169.254.75.97:20880-thread-115] DEBUG com.xwtech.cyserver.dao.CyBizTypeMapper.selectByPrimaryKey - ooo Using Connection [oracle.jdbc.driver.T4CConnection@2f82895a]
14:04:00.214 [DubboServerHandler-169.254.75.97:20880-thread-115] DEBUG com.xwtech.cyserver.dao.CyBizTypeMapper.selectByPrimaryKey - ==>  Preparing: select BIZTYPE, GROUPCODE, BIZNAME, GROUPNAME, STATUS, MODELSQL, APPURL, PCURL, ORDERCOL from CYBIZTYPE where BIZTYPE = ? and GROUPCODE = ? 
14:04:00.214 [DubboServerHandler-169.254.75.97:20880-thread-115] DEBUG com.xwtech.cyserver.dao.CyBizTypeMapper.selectByPrimaryKey - ==> Parameters: ORDER(String), BUSINESS_TYPE(String)
14:04:00.214 [DubboServerHandler-169.254.75.97:20880-thread-115] DEBUG com.xwtech.cyserver.dao.CyBizTypeMapper.selectByPrimaryKey - <==      Total: 

 

如何可以在spring+mybatis项目中输出执行sql的mapper以及sql语句啊

返回顶部
顶部