java.lang.AutoCloseable
, java.sql.Statement
, java.sql.Wrapper
ISQLServerCallableStatement
, ISQLServerPreparedStatement
SQLServerCallableStatement
, SQLServerPreparedStatement
, SQLServerStatement
public interface ISQLServerStatement
extends java.sql.Statement
SQLServerStatement
class.Modifier and Type | Method | Description |
---|---|---|
int |
getCancelQueryTimeout() |
Returns the
cancelQueryTimeout property set on this SQLServerStatement object. |
java.lang.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(java.lang.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, setQueryTimeout
void setResponseBuffering(java.lang.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.java.lang.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.