jodd-jtx/src/main/java/jodd/jtx/worker/LeanJtxWorker.java
public boolean maybeCommitTransaction(final JtxTransaction tx) {
		if (tx == null) {
			return false;
		}
		log.debug("commit tx");

		tx.commit();
		return true;
	}
public boolean maybeCommitTransaction(final JtxTransaction tx) {
		if (tx == null) {
			return false;
		}
		log.debug("commit tx");

		tx.commit();
		return true;
	}
Commits transaction if created in the same level where this method is invoked.
Returns <code>true</code> if transaction was actually committed or <code>false</code>
if transaction was not created on this level.