Methods Summary |
---|
public void | begin()Begin a local transaction.
//GJCINT
mc.transactionStarted();
try {
mc.getActualConnection().setAutoCommit(false);
} catch (java.sql.SQLException sqle) {
throw new LocalTransactionException(sqle.getMessage());
}
|
public void | commit()Commit a local transaction.
try {
mc.getActualConnection().commit();
mc.getActualConnection().setAutoCommit(true);
} catch (java.sql.SQLException sqle) {
throw new LocalTransactionException(sqle.getMessage());
}finally{
//GJCINT
mc.transactionCompleted();
}
|
public void | rollback()Rollback a local transaction.
try {
mc.getActualConnection().rollback();
mc.getActualConnection().setAutoCommit(true);
} catch (java.sql.SQLException sqle) {
throw new LocalTransactionException(sqle.getMessage());
}finally{
//GJCINT
mc.transactionCompleted();
}
|