Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- docker
- jetbrains
- BPMN
- Java
- intellijIDEA
- wildfly
- log4j2
- react
- Kubernetes
- Spring
- Git
- database
- gradle
- IntelliJ
- useEffect
- Windows
- gson
- nodejs
- dbeaver
- mybatis
- springboot
- MySQL
- LOG4J
- JPA
- tibero
- nginx
- JavaScript
- maven
- VSCode
- NCP
Archives
- Today
- Total
목록sqllogging (1)
두 손끝의 창조자
MyBatis Sql 과 파라미터 출력하기
MyBatis는 특정 메소드를 인터셉트 할 수 있는 애노테이션인 Intercepts 을 제공한다. Intercepts 의 값으로 메소드 시그니처를 지정해야하는데 메소드 시그니처를 지정하는 애노테이션이 Signature 이다. 메소드 시그니처는 메소드이름과 파라미터 타입이므로 인터셉트 할 메소드를 정확하게 지정한다. 예를 들어 org.apache.ibatis.executor.Executor 인터페이스는 ... int update(MappedStatement ms, Object parameter) throws SQLException; List query(MappedStatement ms, Object parameter, RowBounds rowBounds, ResultHandler resultHandler)..
프로그래밍
2021. 12. 20. 13:38