if (transactionInfo.getCounter() == 0 && transaction.isActive()) {
if (transactionInfo.isOwner()) {
if (transaction.isMarkedRollback()) {
transaction.rollback();
transactionInfo.clear();
getLogger().info(getBundle().getString("transaction-rolledback"));
} else {
transaction.commit();