@Override
    public long getUpdateCount(WSJdbcStatement stmt) throws SQLException {
        try {
            return super.getUpdateCount(stmt);
        } catch (SQLException x) {
            // Work around an Informix bug where they are raising an error,
            // "No active result" with error code -79733,
            // instead of returning -1.
            if (x.getErrorCode() == -79733) {
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                    Tr.debug(tc, "Returning stmt.getUpdateCount = -1 to work around Informix bug", x.getMessage());
                return -1;
            }
            else
                throw x;
        }
    }
@ Override public long getUpdateCount ( WSJdbcStatement stmt ) throws SQLException { try { return super . getUpdateCount ( stmt ) ; } catch ( SQLException x ) { if ( x . getErrorCode ( ) == - 79733 ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "Returning stmt.getUpdateCount = -1 to work around Informix bug" , x . getMessage ( ) ) ; return - 1 ; } else throw x ; } }
@see com.ibm.ws.rsadapter.spi.DatabaseHelper#getUpdateCount(java.sql.Statement)