jodd-db/src/main/java/jodd/db/jtx/DbJtxResourceManager.java
public void commitTransaction(final DbSession resource) {
		if (resource.isTransactionActive()) {
			log.debug("commit jtx");

			resource.commitTransaction();
		}
		resource.closeSession();
	}
public void commitTransaction(final DbSession resource) {
		if (resource.isTransactionActive()) {
			log.debug("commit jtx");

			resource.commitTransaction();
		}
		resource.closeSession();
	}
{@inheritDoc}