com.alibaba.druid.util.jdbc
类 ConnectionBase
java.lang.Object
com.alibaba.druid.util.jdbc.ConnectionBase
- 所有已实现的接口:
- Connection, Wrapper
- 直接已知子类:
- MockConnection
public abstract class ConnectionBase
- extends Object
- implements Connection
| 从接口 java.sql.Connection 继承的方法 |
close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getClientInfo, getClientInfo, getMetaData, isClosed, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setClientInfo, setClientInfo, setSavepoint, setSavepoint |
ConnectionBase
public ConnectionBase(String url,
Properties info)
getUrl
public String getUrl()
getConnectProperties
public Properties getConnectProperties()
setAutoCommit
public void setAutoCommit(boolean autoCommit)
throws SQLException
- 指定者:
- 接口
Connection 中的 setAutoCommit
- 抛出:
SQLException
getAutoCommit
public boolean getAutoCommit()
throws SQLException
- 指定者:
- 接口
Connection 中的 getAutoCommit
- 抛出:
SQLException
setCatalog
public void setCatalog(String catalog)
throws SQLException
- 指定者:
- 接口
Connection 中的 setCatalog
- 抛出:
SQLException
getCatalog
public String getCatalog()
throws SQLException
- 指定者:
- 接口
Connection 中的 getCatalog
- 抛出:
SQLException
checkState
public void checkState()
throws SQLException
- 抛出:
SQLException
setTransactionIsolation
public void setTransactionIsolation(int level)
throws SQLException
- 指定者:
- 接口
Connection 中的 setTransactionIsolation
- 抛出:
SQLException
getTransactionIsolation
public int getTransactionIsolation()
throws SQLException
- 指定者:
- 接口
Connection 中的 getTransactionIsolation
- 抛出:
SQLException
getWarnings
public SQLWarning getWarnings()
throws SQLException
- 指定者:
- 接口
Connection 中的 getWarnings
- 抛出:
SQLException
clearWarnings
public void clearWarnings()
throws SQLException
- 指定者:
- 接口
Connection 中的 clearWarnings
- 抛出:
SQLException
setWarings
public void setWarings(SQLWarning warings)
getTypeMap
public Map<String,Class<?>> getTypeMap()
throws SQLException
- 指定者:
- 接口
Connection 中的 getTypeMap
- 抛出:
SQLException
setTypeMap
public void setTypeMap(Map<String,Class<?>> map)
throws SQLException
- 指定者:
- 接口
Connection 中的 setTypeMap
- 抛出:
SQLException
setHoldability
public void setHoldability(int holdability)
throws SQLException
- 指定者:
- 接口
Connection 中的 setHoldability
- 抛出:
SQLException
getHoldability
public int getHoldability()
- 指定者:
- 接口
Connection 中的 getHoldability
setReadOnly
public void setReadOnly(boolean readOnly)
throws SQLException
- 指定者:
- 接口
Connection 中的 setReadOnly
- 抛出:
SQLException
isReadOnly
public boolean isReadOnly()
throws SQLException
- 指定者:
- 接口
Connection 中的 isReadOnly
- 抛出:
SQLException
Copyright © 2013 Alibaba Group. All Rights Reserved.