Transaction tx = tm.getTransaction();
if (trace)
log.trace("UserTx commit: " + tx);
int status = tm.getStatus();
tm.commit();
}
finally
{
// According to the spec, after commit and rollback was called on
// UserTransaction, the thread is associated with no transaction.