类 ConnectionProxyImpl
java.lang.Object
com.alibaba.druid.proxy.jdbc.WrapperProxyImpl
com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl
- 所有已实现的接口:
ConnectionProxy,WrapperProxy,AutoCloseable,Connection,Wrapper
- 作者:
- wenshao [szujobs@hotmail.com]
-
字段概要
-
构造器概要
构造器构造器说明ConnectionProxyImpl(DataSourceProxy dataSource, Connection connection, Properties properties, long id) -
方法概要
修饰符和类型方法说明voidvoidvoidclose()voidcommit()createArrayOf(String typeName, Object[] elements) createStatement(int resultSetType, int resultSetConcurrency) createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) createStruct(String typeName, Object[] attributes) booleangetClientInfo(String name) intintlongintintbooleanisClosed()booleanbooleanisValid(int timeout) 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) voidvoidreleaseSavepoint(Savepoint savepoint) voidrollback()voidvoidsetAutoCommit(boolean autoCommit) voidsetCatalog(String catalog) voidsetClientInfo(String name, String value) voidsetClientInfo(Properties properties) voidsetHoldability(int holdability) voidsetLastValidateTimeMillis(long lastValidateTimeMillis) voidsetNetworkTimeout(Executor executor, int milliseconds) voidsetReadOnly(boolean readOnly) setSavepoint(String name) voidvoidsetTransactionIsolation(int level) voidsetTypeMap(Map<String, Class<?>> map) toString()<T> T从类继承的方法 com.alibaba.druid.proxy.jdbc.WrapperProxyImpl
clearAttributes, getAttribute, getAttributes, getAttributesSize, getId, isWrapperFor, putAttribute从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 java.sql.Connection
beginRequest, endRequest, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid从接口继承的方法 java.sql.Wrapper
isWrapperFor从接口继承的方法 com.alibaba.druid.proxy.jdbc.WrapperProxy
clearAttributes, getAttribute, getAttributes, getAttributesSize, getId, putAttribute
-
构造器详细资料
-
ConnectionProxyImpl
public ConnectionProxyImpl(DataSourceProxy dataSource, Connection connection, Properties properties, long id)
-
-
方法详细资料
-
getConnectedTime
- 指定者:
getConnectedTime在接口中ConnectionProxy
-
getProperties
- 指定者:
getProperties在接口中ConnectionProxy
-
getConnectionRaw
-
getRawObject
- 指定者:
getRawObject在接口中ConnectionProxy- 指定者:
getRawObject在接口中WrapperProxy- 覆盖:
getRawObject在类中WrapperProxyImpl
-
getDirectDataSource
- 指定者:
getDirectDataSource在接口中ConnectionProxy
-
createChain
- 指定者:
createChain在类中WrapperProxyImpl
-
recycleFilterChain
-
clearWarnings
- 指定者:
clearWarnings在接口中Connection- 抛出:
SQLException
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Connection- 抛出:
SQLException
-
commit
- 指定者:
commit在接口中Connection- 抛出:
SQLException
-
createArrayOf
- 指定者:
createArrayOf在接口中Connection- 抛出:
SQLException
-
createBlob
- 指定者:
createBlob在接口中Connection- 抛出:
SQLException
-
createClob
- 指定者:
createClob在接口中Connection- 抛出:
SQLException
-
createNClob
- 指定者:
createNClob在接口中Connection- 抛出:
SQLException
-
createSQLXML
- 指定者:
createSQLXML在接口中Connection- 抛出:
SQLException
-
createStatement
- 指定者:
createStatement在接口中Connection- 抛出:
SQLException
-
createStatement
- 指定者:
createStatement在接口中Connection- 抛出:
SQLException
-
createStatement
public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - 指定者:
createStatement在接口中Connection- 抛出:
SQLException
-
createStruct
- 指定者:
createStruct在接口中Connection- 抛出:
SQLException
-
getAutoCommit
- 指定者:
getAutoCommit在接口中Connection- 抛出:
SQLException
-
getCatalog
- 指定者:
getCatalog在接口中Connection- 抛出:
SQLException
-
getClientInfo
- 指定者:
getClientInfo在接口中Connection- 抛出:
SQLException
-
getClientInfo
- 指定者:
getClientInfo在接口中Connection- 抛出:
SQLException
-
getHoldability
- 指定者:
getHoldability在接口中Connection- 抛出:
SQLException
-
getMetaData
- 指定者:
getMetaData在接口中Connection- 抛出:
SQLException
-
getTransactionIsolation
- 指定者:
getTransactionIsolation在接口中Connection- 抛出:
SQLException
-
getTypeMap
- 指定者:
getTypeMap在接口中Connection- 抛出:
SQLException
-
getWarnings
- 指定者:
getWarnings在接口中Connection- 抛出:
SQLException
-
isClosed
- 指定者:
isClosed在接口中Connection- 抛出:
SQLException
-
isReadOnly
- 指定者:
isReadOnly在接口中Connection- 抛出:
SQLException
-
isValid
- 指定者:
isValid在接口中Connection- 抛出:
SQLException
-
nativeSQL
- 指定者:
nativeSQL在接口中Connection- 抛出:
SQLException
-
prepareCall
- 指定者:
prepareCall在接口中Connection- 抛出:
SQLException
-
prepareCall
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException - 指定者:
prepareCall在接口中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
-
prepareStatement
- 指定者:
prepareStatement在接口中Connection- 抛出:
SQLException
-
prepareStatement
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException - 指定者:
prepareStatement在接口中Connection- 抛出:
SQLException
-
prepareStatement
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - 指定者:
prepareStatement在接口中Connection- 抛出:
SQLException
-
releaseSavepoint
- 指定者:
releaseSavepoint在接口中Connection- 抛出:
SQLException
-
rollback
- 指定者:
rollback在接口中Connection- 抛出:
SQLException
-
rollback
- 指定者:
rollback在接口中Connection- 抛出:
SQLException
-
setAutoCommit
- 指定者:
setAutoCommit在接口中Connection- 抛出:
SQLException
-
setCatalog
- 指定者:
setCatalog在接口中Connection- 抛出:
SQLException
-
setClientInfo
- 指定者:
setClientInfo在接口中Connection- 抛出:
SQLClientInfoException
-
setClientInfo
- 指定者:
setClientInfo在接口中Connection- 抛出:
SQLClientInfoException
-
setHoldability
- 指定者:
setHoldability在接口中Connection- 抛出:
SQLException
-
setReadOnly
- 指定者:
setReadOnly在接口中Connection- 抛出:
SQLException
-
setSavepoint
- 指定者:
setSavepoint在接口中Connection- 抛出:
SQLException
-
setSavepoint
- 指定者:
setSavepoint在接口中Connection- 抛出:
SQLException
-
setTransactionIsolation
- 指定者:
setTransactionIsolation在接口中Connection- 抛出:
SQLException
-
setTypeMap
- 指定者:
setTypeMap在接口中Connection- 抛出:
SQLException
-
setSchema
- 指定者:
setSchema在接口中Connection- 抛出:
SQLException
-
getSchema
- 指定者:
getSchema在接口中Connection- 抛出:
SQLException
-
abort
- 指定者:
abort在接口中Connection- 抛出:
SQLException
-
setNetworkTimeout
- 指定者:
setNetworkTimeout在接口中Connection- 抛出:
SQLException
-
getNetworkTimeout
- 指定者:
getNetworkTimeout在接口中Connection- 抛出:
SQLException
-
unwrap
- 指定者:
unwrap在接口中Wrapper- 覆盖:
unwrap在类中WrapperProxyImpl- 抛出:
SQLException
-
getTransactionInfo
- 指定者:
getTransactionInfo在接口中ConnectionProxy
-
getCloseCount
public int getCloseCount()- 指定者:
getCloseCount在接口中ConnectionProxy
-
getLastValidateTimeMillis
public long getLastValidateTimeMillis()- 指定者:
getLastValidateTimeMillis在接口中ConnectionProxy
-
setLastValidateTimeMillis
public void setLastValidateTimeMillis(long lastValidateTimeMillis) -
toString
-