반응형
DBeaver Auto-commit 해제

Auto-commit 해제하지 않을 경우
잘못된 쿼리에도 불구하고 Mybatis 사용 중에 update 쿼리를 자동으로 수행시킨다.

쿼리수행시 예외처리 필수
뭐가 잘 못 됐는지도 모르고 수행을 해버리는 경우는 답도 못 찾는다. exception을 꼭 사용한다.
int update(ArticleExp articleExp) throws Exception ;
Reference
반응형
'Developer' 카테고리의 다른 글
| [jQuery]$(".checkbox").attr("checked", true); VS $( '.checkbox' ).prop( 'checked',true); (0) | 2022.01.09 |
|---|---|
| [Apache]Apache Log4j 2.17 version (0) | 2021.12.23 |
| [MAVEN] Cannot load JDBC driver class 'org.mariadb.jdbc.Driver' (0) | 2021.06.24 |
| [Vue.JS] ref 속성 (0) | 2021.04.11 |
| [HTML] 마크업 유효성 검사 (0) | 2020.10.26 |