Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

setResponseBuffering Method (SQLServerStatement)

Sets the response buffering mode for this SQLServerStatement object to case-insensitive String full or adaptive.


public final void setResponseBuffering(java.lang.String value)

value

A String that contains the response buffering mode. The valid mode can be one of the following case-insensitive Strings: full or adaptive.

adaptive specifies buffering the minimum possible data when necessary.

full specifies reading the entire result from the server at run time.

adaptive is the default value in JDBC Driver version 2.0 and 3.0. full was the default prior to JDBC Driver version 2.0.

The setResponseBuffering method allows you to override the responseBuffering connection String property for the current SQLServerStatement object. For more information about using the response buffering mode, see Using Adaptive Buffering.

If the application specifies an invalid parameter value to the setResponseBuffering method, a SQLServerException is thrown.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.