コード例 #1
0
ファイル: BasicHandle.java プロジェクト: nezhazheng/jdbi
 /**
  * Rollback a transaction to a named checkpoint
  *
  * @param checkpointName the name of the checkpoint, previously declared with {@see
  *     Handle#checkpoint}
  */
 public Handle rollback(String checkpointName) {
   final long start = System.nanoTime();
   transactions.rollback(this, checkpointName);
   log.logRollbackToCheckpoint((System.nanoTime() - start) / 1000000L, this, checkpointName);
   return this;
 }
コード例 #2
0
ファイル: BasicHandle.java プロジェクト: nezhazheng/jdbi
 /** Rollback a transaction */
 public Handle rollback() {
   final long start = System.nanoTime();
   transactions.rollback(this);
   log.logRollbackTransaction((System.nanoTime() - start) / 1000000L, this);
   return this;
 }