Exemple #1
0
 @Override
 public void beginTransaction() {
   if (isInTransaction()) {
     throw new DbException("This connection is already in a transaction");
   }
   checkClosed();
   synchronized (lock) {
     forceQueRequest(MySqlRequests.beginTransaction(this));
     isInTransaction = true;
   }
 }