|
|||||||||
| Home >> All >> org >> jdbf >> engine >> [ transaction overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jdbf.engine.transaction
Class TransactionImpl

java.lang.Objectorg.jdbf.engine.transaction.Transaction
org.jdbf.engine.transaction.TransactionImpl
- public class TransactionImpl
- extends Transaction
A transaction context is required in order to perform operations against the database. The only way to begin a new transaction is through the creation of a new transaction.
| Field Summary |
| Fields inherited from class org.jdbf.engine.transaction.Transaction |
className, status |
| Constructor Summary | |
TransactionImpl()
Create a new transaction context. |
|
| Method Summary | |
void |
commit(java.sql.Connection connection)
Commits all changes |
void |
rollback(java.sql.Connection connection)
Rolls back all changes |
| Methods inherited from class org.jdbf.engine.transaction.Transaction |
isOpen |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
TransactionImpl
public TransactionImpl()
- Create a new transaction context. This method is used by the
explicit transaction model.
| Method Detail |
commit
public void commit(java.sql.Connection connection) throws TransactionException
- Commits all changes
- Specified by:
commitin classTransaction
rollback
public void rollback(java.sql.Connection connection) throws TransactionException
- Rolls back all changes
- Specified by:
rollbackin classTransaction
|
|||||||||
| Home >> All >> org >> jdbf >> engine >> [ transaction overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC