jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java
protected boolean isNewTxScope(final JtxTransaction currentTx, final Object destScope) {
		if (ignoreScope) {
			return true;
		}
		if (currentTx == null) {
			return true;
		}
		if (destScope == null) {
			return true;
		}
		if (currentTx.getScope() == null) {
			return true;
		}
		return !destScope.equals(currentTx.getScope());
	}
protected boolean isNewTxScope(final JtxTransaction currentTx, final Object destScope) {
		if (ignoreScope) {
			return true;
		}
		if (currentTx == null) {
			return true;
		}
		if (destScope == null) {
			return true;
		}
		if (currentTx.getScope() == null) {
			return true;
		}
		return !destScope.equals(currentTx.getScope());
	}
protected boolean isNewTxScope ( final JtxTransaction currentTx , final Object destScope ) { if ( ignoreScope ) { return true ; } if ( currentTx == null ) { return true ; } if ( destScope == null ) { return true ; } if ( currentTx . getScope ( ) == null ) { return true ; } return ! destScope . equals ( currentTx . getScope ( ) ) ; }
Returns <code>true</code> if scope is specified and it is different then of existing transaction.
Returns <code > true< / code > if scope is specified and it is different then of existing transaction .