コード例 #1
0
 @Override
 protected void finished(Description description) {
   if (!autoCommit && delegate != null) {
     try {
       if (!delegate.isClosed()) {
         delegate.rollback();
         delegate.reset();
       }
     } catch (SQLException se) {
       throw new RuntimeException(se);
     }
   }
 }
コード例 #2
0
 @Override
 public void rollback(Savepoint savepoint) throws SQLException {
   delegate.rollback(savepoint);
 }
コード例 #3
0
 @Override
 public void rollback() throws SQLException {
   delegate.rollback();
 }