Dave Brosius <[email protected]> writes: > It appears that > org.apache.derby.impl.jdbc.TransactionResourceImpl.isLoginException is > perhaps missing an if > > should > > private boolean isLoginException(Throwable thrownException) { > if (thrownException instanceof StandardException) { > ((StandardException) thrownException).getSQLState().equals > (SQLState.LOGIN_FAILED); > return true; > } > return false; > } > > be > > private boolean isLoginException(Throwable thrownException) { > if (thrownException instanceof StandardException) { > if ((StandardException) thrownException).getSQLState().equals > (SQLState.LOGIN_FAILED) > return true; > } > return false; > } > > ?
Good catch! It does indeed look like it was meant to be the latter. Will you file a JIRA issue for it? Thanks, -- Knut Anders
