Interface ISQLServerStatement

    • Method Detail

      • setResponseBuffering

        void setResponseBuffering​(String value)
                           throws SQLServerException
        Sets the response buffering mode for this SQLServerStatement object to case-insensitive String full or adaptive.

        Response buffering controls the driver's buffering of responses from SQL Server.

        Possible values are:

        "full" - Fully buffer the response at execution time.

        "adaptive" - Data Pipe adaptive buffering

        Parameters:
        value - A String that contains the response buffering mode. The valid mode can be one of the following case-insensitive Strings: full or adaptive.
        Throws:
        SQLServerException - If there are any errors in setting the response buffering mode.
      • getResponseBuffering

        String getResponseBuffering()
                             throws SQLServerException
        Returns the response buffering mode for this SQLServerStatement object.
        Returns:
        A String that contains a lower-case full or adaptive.
        Throws:
        SQLServerException - If there are any errors in retrieving the response buffering mode.
      • getCancelQueryTimeout

        int getCancelQueryTimeout()
                           throws SQLServerException
        Returns the cancelQueryTimeout property set on this SQLServerStatement object.
        Returns:
        cancelQueryTimeout Time duration in seconds.
        Throws:
        SQLServerException - if any error occurs
      • setCancelQueryTimeout

        void setCancelQueryTimeout​(int seconds)
                            throws SQLServerException
        Sets the cancelQueryTimeout property on this SQLServerStatement object to cancel queryTimeout set on Connection or Statement level.
        Parameters:
        seconds - Time duration in seconds.
        Throws:
        SQLServerException - if any error occurs