public abstract class AbstractDataSourceAdapter extends AbstractUnsupportedOperationDataSource
Datasource.| Constructor and Description |
|---|
AbstractDataSourceAdapter(Collection<DataSource> dataSources) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection(String username,
String password) |
protected DatabaseType |
getDatabaseType(Collection<DataSource> dataSources) |
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
SQLExceptionprotected DatabaseType getDatabaseType(Collection<DataSource> dataSources) throws SQLException
SQLExceptionpublic final PrintWriter getLogWriter()
public final void setLogWriter(PrintWriter out)
public final Logger getParentLogger()
public final Connection getConnection(String username, String password) throws SQLException
SQLExceptionCopyright © 2018. All rights reserved.