AutoCloseable, Statement, WrapperISQLServerCallableStatement, ISQLServerPreparedStatementSQLServerCallableStatement, SQLServerPreparedStatement, SQLServerStatementpublic interface ISQLServerStatement extends Statement
SQLServerStatement class.CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Modifier and Type | Method | Description |
|---|---|---|
int |
getCancelQueryTimeout() |
Returns the
cancelQueryTimeout property set on this SQLServerStatement object. |
String |
getResponseBuffering() |
Returns the response buffering mode for this SQLServerStatement object.
|
void |
setCancelQueryTimeout(int seconds) |
Sets the
cancelQueryTimeout property on this SQLServerStatement object to cancel
queryTimeout set on Connection or Statement level. |
void |
setResponseBuffering(String value) |
Sets the response buffering mode for this SQLServerStatement object to case-insensitive String full or adaptive.
|
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperFor, unwrapvoid setResponseBuffering(String value) throws SQLServerException
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
value - A String that contains the response buffering mode. The valid mode can be one of the following
case-insensitive Strings: full or adaptive.SQLServerException - If there are any errors in setting the response buffering mode.String getResponseBuffering() throws SQLServerException
SQLServerException - If there are any errors in retrieving the response buffering mode.int getCancelQueryTimeout()
throws SQLServerException
cancelQueryTimeout property set on this SQLServerStatement object.SQLServerException - if any error occursvoid setCancelQueryTimeout(int seconds)
throws SQLServerException
cancelQueryTimeout property on this SQLServerStatement object to cancel
queryTimeout set on Connection or Statement level.seconds - Time duration in seconds.SQLServerException - if any error occursCopyright © 2018 Microsoft Corporation. All rights reserved.