类 ConnectionBase
java.lang.Object
com.alibaba.druid.util.jdbc.ConnectionBase
- 所有已实现的接口:
AutoCloseable,Connection,Wrapper
- 直接已知子类:
MockConnection
-
字段概要
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidvoidbooleanintintgetUrl()booleanvoidsetAutoCommit(boolean autoCommit) voidsetCatalog(String catalog) voidsetHoldability(int holdability) voidsetReadOnly(boolean readOnly) voidsetTransactionIsolation(int level) voidsetTypeMap(Map<String, Class<?>> map) voidsetWarnings(SQLWarning warnings) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.sql.Connection
abort, beginRequest, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, endRequest, getClientInfo, getClientInfo, getMetaData, getNetworkTimeout, getSchema, isClosed, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setClientInfo, setClientInfo, setNetworkTimeout, setSavepoint, setSavepoint, setSchema, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
构造器详细资料
-
ConnectionBase
-
-
方法详细资料
-
getUrl
-
getConnectProperties
-
setAutoCommit
- 指定者:
setAutoCommit在接口中Connection- 抛出:
SQLException
-
getAutoCommit
- 指定者:
getAutoCommit在接口中Connection- 抛出:
SQLException
-
setCatalog
- 指定者:
setCatalog在接口中Connection- 抛出:
SQLException
-
getCatalog
- 指定者:
getCatalog在接口中Connection- 抛出:
SQLException
-
checkState
- 抛出:
SQLException
-
setTransactionIsolation
- 指定者:
setTransactionIsolation在接口中Connection- 抛出:
SQLException
-
getTransactionIsolation
- 指定者:
getTransactionIsolation在接口中Connection- 抛出:
SQLException
-
getWarnings
- 指定者:
getWarnings在接口中Connection- 抛出:
SQLException
-
clearWarnings
- 指定者:
clearWarnings在接口中Connection- 抛出:
SQLException
-
setWarnings
-
getTypeMap
- 指定者:
getTypeMap在接口中Connection- 抛出:
SQLException
-
setTypeMap
- 指定者:
setTypeMap在接口中Connection- 抛出:
SQLException
-
setHoldability
- 指定者:
setHoldability在接口中Connection- 抛出:
SQLException
-
getHoldability
public int getHoldability()- 指定者:
getHoldability在接口中Connection
-
setReadOnly
- 指定者:
setReadOnly在接口中Connection- 抛出:
SQLException
-
isReadOnly
- 指定者:
isReadOnly在接口中Connection- 抛出:
SQLException
-