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
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal ObjectHas been implemented to return anullreference and delegate the logic to theuseTransactionWithoutResult()method.abstract voidShould 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 anullreference and delegate the logic to theuseTransactionWithoutResult()method.- Specified by:
useTransactionin interfaceTransactionUser<DataType>- Specified by:
useTransactionin classDbTransactionUser<Object,DataType> - Throws:
InnerClassException- Since:
- 1.0
-
useTransactionWithoutResult
Should be implemented by all extending classes.- Throws:
InnerClassException- Since:
- 1.0
-