jodd-db/src/main/java/jodd/db/jtx/DbJtxResourceManager.java
public DbSession beginTransaction(final JtxTransactionMode jtxMode, final boolean active) {
		DbSession session = new DbSession(connectionProvider);
		if (active) {
			log.debug("begin jtx");

			session.beginTransaction(JtxDbUtil.convertToDbMode(jtxMode));
		}
		return session;
	}
public DbSession beginTransaction(final JtxTransactionMode jtxMode, final boolean active) {
		DbSession session = new DbSession(connectionProvider);
		if (active) {
			log.debug("begin jtx");

			session.beginTransaction(JtxDbUtil.convertToDbMode(jtxMode));
		}
		return session;
	}
{@inheritDoc}