Package rife.database
Class DbTransactionUserWithoutResult<DataType>
java.lang.Object
rife.database.DbTransactionUser<Object,DataType>
rife.database.DbTransactionUserWithoutResult<DataType>
- All Implemented Interfaces:
Cloneable
,TransactionUser<Object>
public abstract class DbTransactionUserWithoutResult<DataType>
extends DbTransactionUser<Object,DataType>
Convenience class that offers the same facilities as the
DbTransactionUser
class, but makes it easier to work with
transactions that don't return any results.- Since:
- 1.0
- See Also:
-
Field Summary
Fields inherited from class rife.database.DbTransactionUser
data_
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal Object
Has been implemented to return anull
reference and delegate the logic to theuseTransactionWithoutResult()
method.abstract void
Should be implemented by all extending classes.Methods inherited from class rife.database.DbTransactionUser
clone, getData, getTransactionIsolation, rollback, throwException
-
Constructor Details
-
DbTransactionUserWithoutResult
public DbTransactionUserWithoutResult() -
DbTransactionUserWithoutResult
-
-
Method Details
-
useTransaction
Has been implemented to return anull
reference and delegate the logic to theuseTransactionWithoutResult()
method.- Specified by:
useTransaction
in interfaceTransactionUser<DataType>
- Specified by:
useTransaction
in classDbTransactionUser<Object,
DataType> - Throws:
InnerClassException
- Since:
- 1.0
-
useTransactionWithoutResult
Should be implemented by all extending classes.- Throws:
InnerClassException
- Since:
- 1.0
-