getCurrentTransaction() At any given moment there can be several transactions running in the thread.
On of possible implemetations can have stack of nested trasactions associated with a thread.
Only one of them is active at any given moment.
release(Transaction transaction) Return transaction to the pool if needed.
Necessity of this method is questionable since w/o commit or rollback on update it can
cause dead locks.
void
releaseUnchecked(Transaction transaction) Return transaction to the pool if needed.
Necessity of this method is questionable since w/o commit or rollback on update it can
cause dead locks.
At any given moment there can be several transactions running in the thread.
On of possible implemetations can have stack of nested trasactions associated with a thread.
Only one of them is active at any given moment. This one is the current transaction.
current transaction
Return transaction to the pool if needed.
Necessity of this method is questionable since w/o commit or rollback on update it can
cause dead locks. So it's usage it is not really recommended.
Parameters: transaction - throws: SQLException -
Return transaction to the pool if needed.
Necessity of this method is questionable since w/o commit or rollback on update it can
cause dead locks. So it's usage it is not really recommended.
Parameters: transaction - throws: com.completex.objective.components.OdalRuntimeException - if database error happens