ISQLServerConnection
, ISQLServerConnection43
, AutoCloseable
, Connection
, Wrapper
public class SQLServerConnection43 extends SQLServerConnection implements ISQLServerConnection43
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
TRANSACTION_SNAPSHOT
Modifier and Type | Method | Description |
---|---|---|
void |
setShardingKey(ShardingKey shardingKey) |
|
void |
setShardingKey(ShardingKey shardingKey,
ShardingKey superShardingKey) |
|
boolean |
setShardingKeyIfValid(ShardingKey shardingKey,
int timeout) |
|
boolean |
setShardingKeyIfValid(ShardingKey shardingKey,
ShardingKey superShardingKey,
int timeout) |
abort, beginRequest, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, endRequest, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap
getClientConnectionId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abort, beginRequest, clearWarnings, close, closeUnreferencedPreparedStatementHandles, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStatement, createStruct, endRequest, getAutoCommit, getCatalog, getClientConnectionId, getClientInfo, getClientInfo, getColumnEncryptionTrustedMasterKeyPaths, getDisableStatementPooling, getDiscardedServerPreparedStatementCount, getEnablePrepareOnFirstPreparedStatementCall, getHoldability, getMetaData, getNetworkTimeout, getSchema, getSendTimeAsDatetime, getServerPreparedStatementDiscardThreshold, getStatementHandleCacheEntryCount, getStatementPoolingCacheSize, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isStatementPoolingEnabled, isValid, isWrapperFor, nativeSQL, prepareCall, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, registerColumnEncryptionKeyStoreProviders, releaseSavepoint, removeColumnEncryptionTrustedMasterKeyPaths, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setColumnEncryptionKeyCacheTtl, setColumnEncryptionTrustedMasterKeyPaths, setDisableStatementPooling, setEnablePrepareOnFirstPreparedStatementCall, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setSendTimeAsDatetime, setServerPreparedStatementDiscardThreshold, setStatementPoolingCacheSize, setTransactionIsolation, setTypeMap, toString, unwrap, updateColumnEncryptionTrustedMasterKeyPaths
isWrapperFor, unwrap
public void setShardingKey(ShardingKey shardingKey) throws SQLServerException
setShardingKey
in interface Connection
setShardingKey
in interface ISQLServerConnection43
SQLServerException
public void setShardingKey(ShardingKey shardingKey, ShardingKey superShardingKey) throws SQLServerException
setShardingKey
in interface Connection
setShardingKey
in interface ISQLServerConnection43
SQLServerException
public boolean setShardingKeyIfValid(ShardingKey shardingKey, int timeout) throws SQLServerException
setShardingKeyIfValid
in interface Connection
setShardingKeyIfValid
in interface ISQLServerConnection43
SQLServerException
public boolean setShardingKeyIfValid(ShardingKey shardingKey, ShardingKey superShardingKey, int timeout) throws SQLServerException
setShardingKeyIfValid
in interface Connection
setShardingKeyIfValid
in interface ISQLServerConnection43
SQLServerException
Copyright © 2018 Microsoft Corporation. All rights reserved.