Method Summary |
|
public Object | clone() Simply clones the instance with the default clone method since this
class contains no member variables. |
public DataType | getData() |
public int | getTransactionIsolation() Should be overridden if the transaction has to be executed in another
isolation level. |
public void | rollback() Should be used to roll back ongoing transactions, otherwise enclosing
transaction users might not be interrupted and subsequent modification
can still happen outside the transaction. |
public void | throwException(Exception exception) Calling this method makes it possible to throw a checked exception from
within this class.
To catch it you should surround the
DbQueryManager.inTransaction(DbTransactionUser) inTransaction with a
try-catch block that catching
InnerClassException . |
abstract public ResultType | useTransaction() Should be implemented by all extending classes. |