当前位置:网站首页>Mybati SQL statement printing
Mybati SQL statement printing
2022-07-01 03:03:00 【thoughtCodes】
1: First of all, will ibatis log4j Run level to DEBUG It can be printed on the console ibatis Running sql sentence
### Show SQL Statement part
log4j.logger.com.ibatis=DEBUG
log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=DEBUG
log4j.logger.com.ibatis.common.jdbc.ScriptRunner=DEBUG
log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate=DEBUG
log4j.logger.Java.sql.Connection=DEBUG
log4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.PreparedStatement=DEBUG
2.mybatis To configure :
<?xml version="1.0" encoding="UTF-8"?>mybatis:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
边栏推荐
- Multithreaded printing
- 鼠标悬停效果二
- 鼠标悬停效果五
- Complete training and verification of a neural network based on pytorch
- Is it safe to open a stock account? Shanghai stock account opening procedures.
- 在国内如何买港股的股?用什么平台安全一些?
- Is it safe to open an account online in a small securities firm? Will my money be unsafe?
- [linear DP] longest common subsequence
- js 找出两个数组中的重复元素
- Dell server restart Idrac method
猜你喜欢

How the network is connected: Chapter 2 (Part 2) packet receiving and sending operations between IP and Ethernet

PCB defect detection based on OpenCV and image subtraction

Huawei operator level router configuration example | BGP VPLS configuration example

第03章_用戶與權限管理

Huawei operator level router configuration example | configuration optionA mode cross domain LDP VPLS example

Design practice of current limiting components

Contrastive learning of Class-agnostic Activation Map for Weakly Supervised Object Localization and

js中的原型和原型链

Share Creators萌芽人才培养计划来了!

彻底解决Lost connection to MySQL server at ‘reading initial communication packet
随机推荐
IEDA 右键源码文件菜单简介
# 使用 KubeKey 搭建 Kubernetes/KubeSphere 环境的'心路(累)历程'
LeetCode_ Stack_ Difficulties_ 227. basic calculator (excluding multiplication and division)
Introduction to core functions of webrtc -- an article on understanding SDP PlanB unifiedplan (migrating from PlanB to unifiedplan)
Catch 222222
实战 ELK 优雅管理服务器日志
Add / delete / modify query summary insert/create/put/add/save/post, delete/drop/remove, update/modify/change, select/get/list/find
mybati sql 语句打印
Gartner research: in China, the adoption of hybrid cloud has become the mainstream trend
Densenet network paper learning notes
STM32——一线协议之DS18B20温度采样
XXL job User Guide
Mouse over effect 9
POI导出excel,按照父子节点进行分级显示
PHP batch Excel to word
PTA 1016
JS to find duplicate elements in two arrays
Classic programming problem: finding the number of daffodils
[wechat applet development] style summary
Borrowing constructor inheritance and composite inheritance