类 ConnectionWrapper
java.lang.Object
cool.scx.dao.spy.wrapper.ConnectionWrapper
- 所有已实现的接口:
AutoCloseable,Connection,Wrapper
-
字段概要
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidvoidvoidvoidclose()voidcommit()createArrayOf(String typeName, Object[] elements) createStatement(int resultSetType, int resultSetConcurrency) createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) createStruct(String typeName, Object[] attributes) voidbooleangetClientInfo(String name) intintintbooleanisClosed()booleanbooleanisValid(int timeout) booleanisWrapperFor(Class<?> iface) prepareCall(String sql) prepareCall(String sql, int resultSetType, int resultSetConcurrency) prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) prepareStatement(String sql) prepareStatement(String sql, int autoGeneratedKeys) prepareStatement(String sql, int[] columnIndexes) prepareStatement(String sql, int resultSetType, int resultSetConcurrency) prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) prepareStatement(String sql, String[] columnNames) voidreleaseSavepoint(Savepoint savepoint) voidrollback()voidvoidsetAutoCommit(boolean autoCommit) voidsetCatalog(String catalog) voidsetClientInfo(String name, String value) voidsetClientInfo(Properties properties) voidsetHoldability(int holdability) voidsetNetworkTimeout(Executor executor, int milliseconds) voidsetReadOnly(boolean readOnly) setSavepoint(String name) voidvoidsetShardingKey(ShardingKey shardingKey) voidsetShardingKey(ShardingKey shardingKey, ShardingKey superShardingKey) booleansetShardingKeyIfValid(ShardingKey shardingKey, int timeout) booleansetShardingKeyIfValid(ShardingKey shardingKey, ShardingKey superShardingKey, int timeout) voidsetTransactionIsolation(int level) voidsetTypeMap(Map<String, Class<?>> map) <T> T
-
构造器详细资料
-
ConnectionWrapper
-
-
方法详细资料
-
createStatement
- 指定者:
createStatement在接口中Connection- 抛出:
SQLException
-
prepareStatement
- 指定者:
prepareStatement在接口中Connection- 抛出:
SQLException
-
prepareCall
- 指定者:
prepareCall在接口中Connection- 抛出:
SQLException
-
createStatement
- 指定者:
createStatement在接口中Connection- 抛出:
SQLException
-
prepareStatement
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException - 指定者:
prepareStatement在接口中Connection- 抛出:
SQLException
-
prepareCall
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException - 指定者:
prepareCall在接口中Connection- 抛出:
SQLException
-
createStatement
public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - 指定者:
createStatement在接口中Connection- 抛出:
SQLException
-
prepareStatement
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - 指定者:
prepareStatement在接口中Connection- 抛出:
SQLException
-
prepareCall
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - 指定者:
prepareCall在接口中Connection- 抛出:
SQLException
-
prepareStatement
- 指定者:
prepareStatement在接口中Connection- 抛出:
SQLException
-
prepareStatement
- 指定者:
prepareStatement在接口中Connection- 抛出:
SQLException
-
prepareStatement
- 指定者:
prepareStatement在接口中Connection- 抛出:
SQLException
-
nativeSQL
- 指定者:
nativeSQL在接口中Connection- 抛出:
SQLException
-
getAutoCommit
- 指定者:
getAutoCommit在接口中Connection- 抛出:
SQLException
-
setAutoCommit
- 指定者:
setAutoCommit在接口中Connection- 抛出:
SQLException
-
commit
- 指定者:
commit在接口中Connection- 抛出:
SQLException
-
rollback
- 指定者:
rollback在接口中Connection- 抛出:
SQLException
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Connection- 抛出:
SQLException
-
isClosed
- 指定者:
isClosed在接口中Connection- 抛出:
SQLException
-
getMetaData
- 指定者:
getMetaData在接口中Connection- 抛出:
SQLException
-
isReadOnly
- 指定者:
isReadOnly在接口中Connection- 抛出:
SQLException
-
setReadOnly
- 指定者:
setReadOnly在接口中Connection- 抛出:
SQLException
-
getCatalog
- 指定者:
getCatalog在接口中Connection- 抛出:
SQLException
-
setCatalog
- 指定者:
setCatalog在接口中Connection- 抛出:
SQLException
-
getTransactionIsolation
- 指定者:
getTransactionIsolation在接口中Connection- 抛出:
SQLException
-
setTransactionIsolation
- 指定者:
setTransactionIsolation在接口中Connection- 抛出:
SQLException
-
getWarnings
- 指定者:
getWarnings在接口中Connection- 抛出:
SQLException
-
clearWarnings
- 指定者:
clearWarnings在接口中Connection- 抛出:
SQLException
-
getTypeMap
- 指定者:
getTypeMap在接口中Connection- 抛出:
SQLException
-
setTypeMap
- 指定者:
setTypeMap在接口中Connection- 抛出:
SQLException
-
getHoldability
- 指定者:
getHoldability在接口中Connection- 抛出:
SQLException
-
setHoldability
- 指定者:
setHoldability在接口中Connection- 抛出:
SQLException
-
setSavepoint
- 指定者:
setSavepoint在接口中Connection- 抛出:
SQLException
-
setSavepoint
- 指定者:
setSavepoint在接口中Connection- 抛出:
SQLException
-
rollback
- 指定者:
rollback在接口中Connection- 抛出:
SQLException
-
releaseSavepoint
- 指定者:
releaseSavepoint在接口中Connection- 抛出:
SQLException
-
createClob
- 指定者:
createClob在接口中Connection- 抛出:
SQLException
-
createBlob
- 指定者:
createBlob在接口中Connection- 抛出:
SQLException
-
createNClob
- 指定者:
createNClob在接口中Connection- 抛出:
SQLException
-
createSQLXML
- 指定者:
createSQLXML在接口中Connection- 抛出:
SQLException
-
isValid
- 指定者:
isValid在接口中Connection- 抛出:
SQLException
-
setClientInfo
- 指定者:
setClientInfo在接口中Connection- 抛出:
SQLClientInfoException
-
getClientInfo
- 指定者:
getClientInfo在接口中Connection- 抛出:
SQLException
-
getClientInfo
- 指定者:
getClientInfo在接口中Connection- 抛出:
SQLException
-
setClientInfo
- 指定者:
setClientInfo在接口中Connection- 抛出:
SQLClientInfoException
-
createArrayOf
- 指定者:
createArrayOf在接口中Connection- 抛出:
SQLException
-
createStruct
- 指定者:
createStruct在接口中Connection- 抛出:
SQLException
-
getSchema
- 指定者:
getSchema在接口中Connection- 抛出:
SQLException
-
setSchema
- 指定者:
setSchema在接口中Connection- 抛出:
SQLException
-
abort
- 指定者:
abort在接口中Connection- 抛出:
SQLException
-
setNetworkTimeout
- 指定者:
setNetworkTimeout在接口中Connection- 抛出:
SQLException
-
getNetworkTimeout
- 指定者:
getNetworkTimeout在接口中Connection- 抛出:
SQLException
-
beginRequest
- 指定者:
beginRequest在接口中Connection- 抛出:
SQLException
-
endRequest
- 指定者:
endRequest在接口中Connection- 抛出:
SQLException
-
setShardingKeyIfValid
public boolean setShardingKeyIfValid(ShardingKey shardingKey, ShardingKey superShardingKey, int timeout) throws SQLException - 指定者:
setShardingKeyIfValid在接口中Connection- 抛出:
SQLException
-
setShardingKeyIfValid
- 指定者:
setShardingKeyIfValid在接口中Connection- 抛出:
SQLException
-
setShardingKey
public void setShardingKey(ShardingKey shardingKey, ShardingKey superShardingKey) throws SQLException - 指定者:
setShardingKey在接口中Connection- 抛出:
SQLException
-
setShardingKey
- 指定者:
setShardingKey在接口中Connection- 抛出:
SQLException
-
unwrap
- 指定者:
unwrap在接口中Wrapper- 抛出:
SQLException
-
isWrapperFor
- 指定者:
isWrapperFor在接口中Wrapper- 抛出:
SQLException
-