
Database
[JDBC] Service | MVC 패턴 | CRUD | Transaction
목차 Transaction 1-1. getAutoCommit() 1-2. setAutoCommit(false) 1-3. commit(con);과 rollback(con); 수동 처리 Service 2-1. DAO클래스 세팅(+DTO 클래스, XML 쿼리문) 2-2. Service 클래스 1. Transaction 1-1. getAutoCommit() Connection con = getConnection(); try { System.out.println("autoCommit의 현재 설정 값 : " + con.AutoCommit()); ============== autoCommit의 현재 설정 값 : true 별도 커밋(commit) 처리 없이도 DML 구문이 오라클의 테이블에까지 최종적으로 추가/수정/삭..