public abstract class ConnectionBase extends Object implements Connection
| 构造器和说明 |
|---|
ConnectionBase(String url,
Properties info) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
abort, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, 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, setSchemaisWrapperFor, unwrappublic ConnectionBase(String url, Properties info)
public String getUrl()
public Properties getConnectProperties()
public void setAutoCommit(boolean autoCommit)
throws SQLException
setAutoCommit 在接口中 ConnectionSQLExceptionpublic boolean getAutoCommit()
throws SQLException
getAutoCommit 在接口中 ConnectionSQLExceptionpublic void setCatalog(String catalog) throws SQLException
setCatalog 在接口中 ConnectionSQLExceptionpublic String getCatalog() throws SQLException
getCatalog 在接口中 ConnectionSQLExceptionpublic void setTransactionIsolation(int level)
throws SQLException
setTransactionIsolation 在接口中 ConnectionSQLExceptionpublic int getTransactionIsolation()
throws SQLException
getTransactionIsolation 在接口中 ConnectionSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings 在接口中 ConnectionSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings 在接口中 ConnectionSQLExceptionpublic void setWarings(SQLWarning warings)
public Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap 在接口中 ConnectionSQLExceptionpublic void setTypeMap(Map<String,Class<?>> map) throws SQLException
setTypeMap 在接口中 ConnectionSQLExceptionpublic void setHoldability(int holdability)
throws SQLException
setHoldability 在接口中 ConnectionSQLExceptionpublic int getHoldability()
getHoldability 在接口中 Connectionpublic void setReadOnly(boolean readOnly)
throws SQLException
setReadOnly 在接口中 ConnectionSQLExceptionpublic boolean isReadOnly()
throws SQLException
isReadOnly 在接口中 ConnectionSQLExceptionCopyright © 2012 Alibaba Group. All Rights Reserved.