DefaultTransactionDefinition def = new DefaultTransactionDefinition(); def.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRED); // transaction 상태 정보 알려줌 TransactionStatus status = txManager.getTransaction(def); // 에러 없으면 commit txManager.commit(status); } catch (TransactionException ex) { // 에러 있을 경우 rollback txManager.rollback(status); LOGGER.error("insertBoard"); public void ins..