public abstract class AbstractDataSourceAdapter extends AbstractUnsupportedOperationDataSource
Datasource.| 构造器和说明 |
|---|
AbstractDataSourceAdapter(Collection<DataSource> dataSources) |
| 限定符和类型 | 方法和说明 |
|---|---|
Connection |
getConnection(String username,
String password) |
PrintWriter |
getLogWriter() |
Logger |
getParentLogger() |
void |
setLogWriter(PrintWriter out) |
getLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, throwSQLExceptionIfNecessary, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnectionisWrapperFor, unwrappublic AbstractDataSourceAdapter(Collection<DataSource> dataSources) throws SQLException
SQLExceptionpublic final PrintWriter getLogWriter() throws SQLException
SQLExceptionpublic final void setLogWriter(PrintWriter out) throws SQLException
SQLExceptionpublic final Logger getParentLogger() throws SQLFeatureNotSupportedException
public final Connection getConnection(String username, String password) throws SQLException
SQLExceptionCopyright © 2017. All rights reserved.