case REQUIRES:
// Are we the owner of the transaction?
Transaction transaction = m_owned.get(Thread.currentThread());
if (transaction != null) { // Owner.
try {
transaction.commit(); // Commit the transaction
m_owned.remove(Thread.currentThread());
handler.transactionCommitted(transaction); // Manage potential notification.
} catch ( RollbackException e) {
m_owned.remove(Thread.currentThread());
// The transaction was rolledback