Package com.jbstrap.core.dao.base
Class NoTransaction
java.lang.Object
com.jbstrap.core.dao.base.NoTransaction
- All Implemented Interfaces:
Transaction
-
Constructor Details
-
NoTransaction
public NoTransaction()
-
-
Method Details
-
getTransactionObject
- Specified by:
getTransactionObject
in interfaceTransaction
-
commit
Description copied from interface:Transaction
Commits the transaction towards the data store. Following this, no additional operation can be done in the transaction, and it cannot be rolled back.- Specified by:
commit
in interfaceTransaction
- Returns:
- The transaction instance
- Throws:
ConnectionException
- If any error is encountered during the commit. In every case, the error most be packaged in this type of error.
-
rollBack
Description copied from interface:Transaction
Rolls back the current transaction. Following this, no additional operation can be done in the transaction, and it cannot be committed.- Specified by:
rollBack
in interfaceTransaction
- Returns:
- The transaction instance
- Throws:
ConnectionException
-