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

				resource.rollbackTransaction();
			}
		} catch (Exception ex) {
			throw new JtxException(ex);
		} finally {
			resource.closeSession();
		}
	}
public void rollbackTransaction(final DbSession resource) {
		try {
			if (resource.isTransactionActive()) {
				log.debug("rollback tx");

				resource.rollbackTransaction();
			}
		} catch (Exception ex) {
			throw new JtxException(ex);
		} finally {
			resource.closeSession();
		}
	}
public void rollbackTransaction ( final DbSession resource ) { try { if ( resource . isTransactionActive ( ) ) { log . debug ( "rollback tx" ) ; resource . rollbackTransaction ( ) ; } } catch ( Exception ex ) { throw new JtxException ( ex ) ; } finally { resource . closeSession ( ) ; } }
{@inheritDoc}
{