#下面的两条配置非常重要,设置为trace后,将可以看到打印出sql中 ? 占位符的实际内容
#this is the most important config for showing parames like ?
log4j中加入下面两条配置:
log4j.logger.org.hibernate.SQL=trace
log4j.logger.org.hibernate.type=trace
#下面的两条配置非常重要,设置为trace后,将可以看到打印出sql中 ? 占位符的实际内容
#this is the most important config for showing parames like ?
log4j中加入下面两条配置:
log4j.logger.org.hibernate.SQL=trace
log4j.logger.org.hibernate.type=trace
上一篇:在HibernateTemplate里执行Sql语句
下一篇:Activity
SpringBoot集成Tess4J实现图片文字识别
####控制台处理类log4j.appender.stdout=org.apache.log4j.Co
...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M