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 继承的字段
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
构造方法摘要
ConnectionBase(String url, Properties info)
           
 
方法摘要
 void checkState()
           
 void clearWarnings()
           
 boolean getAutoCommit()
           
 String getCatalog()
           
 Properties getConnectProperties()
           
 int getHoldability()
           
 int getTransactionIsolation()
           
 Map<String,Class<?>> getTypeMap()
           
 String getUrl()
           
 SQLWarning getWarnings()
           
 boolean isReadOnly()
           
 void setAutoCommit(boolean autoCommit)
           
 void setCatalog(String catalog)
           
 void setHoldability(int holdability)
           
 void setReadOnly(boolean readOnly)
           
 void setTransactionIsolation(int level)
           
 void setTypeMap(Map<String,Class<?>> map)
           
 void setWarings(SQLWarning warings)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 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
 
从接口 java.sql.Wrapper 继承的方法
isWrapperFor, unwrap
 

构造方法详细信息

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-2014 Alibaba Group. All Rights Reserved.