|
MySQL 5.6.14 Source Code Document
|

Public Member Functions | |
| void | begin () |
| void | commit () |
| void | rollback () |
| boolean | isActive () |
| void | setRollbackOnly () |
| boolean | getRollbackOnly () |
Transaction represents a user transaction active in the cluster.
Definition at line 24 of file Transaction.java.
| void com.mysql.clusterj.Transaction.begin | ( | ) |
Begin a transaction.
Implemented in com.mysql.clusterj.core.TransactionImpl.

| void com.mysql.clusterj.Transaction.commit | ( | ) |
Commit a transaction.
Implemented in com.mysql.clusterj.core.TransactionImpl.

| boolean com.mysql.clusterj.Transaction.getRollbackOnly | ( | ) |
Has this transaction been marked for rollback only?
Implemented in com.mysql.clusterj.core.TransactionImpl.
| boolean com.mysql.clusterj.Transaction.isActive | ( | ) |
Is there a transaction currently active?
Implemented in com.mysql.clusterj.core.TransactionImpl.

| void com.mysql.clusterj.Transaction.rollback | ( | ) |
Roll back a transaction.
Implemented in com.mysql.clusterj.core.TransactionImpl.

| void com.mysql.clusterj.Transaction.setRollbackOnly | ( | ) |
Mark this transaction as rollback only. After this method is called, commit() will roll back the transaction and throw an exception; rollback() will roll back the transaction and not throw an exception.
Implemented in com.mysql.clusterj.core.TransactionImpl.