forked from microsoft/mssql-jdbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathISQLServerStatement.java
39 lines (36 loc) · 1.49 KB
/
ISQLServerStatement.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Microsoft JDBC Driver for SQL Server
*
* Copyright(c) Microsoft Corporation All rights reserved.
*
* This program is made available under the terms of the MIT License. See the LICENSE file in the project root for more information.
*/
package com.microsoft.sqlserver.jdbc;
public interface ISQLServerStatement extends java.sql.Statement {
/**
* Sets the response buffering mode for this SQLServerStatement object to case-insensitive String full or adaptive.
* <p>
* Response buffering controls the driver's buffering of responses from SQL Server.
* <p>
* Possible values are:
* <p>
* "full" - Fully buffer the response at execution time.
* <p>
* "adaptive" - Data Pipe adaptive buffering
*
* @param 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.
*/
public void setResponseBuffering(String value) throws SQLServerException;
/**
* Retrieves the response buffering mode for this SQLServerStatement object.
*
* @return A String that contains a lower-case full or adaptive.
* @throws SQLServerException
* If there are any errors in retrieving the response buffering mode.
*/
public String getResponseBuffering() throws SQLServerException;
}