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;
    }


?

Reply via email to