public interface SQLDataSource extends DataSource
| Modifier and Type | Method and Description |
|---|---|
default int |
getLoginTimeout() |
default PrintWriter |
getLogWriter() |
default Logger |
getParentLogger() |
default boolean |
isWrapperFor(Class<?> iface) |
default void |
setLoginTimeout(int seconds) |
default void |
setLogWriter(PrintWriter out) |
default <T> T |
unwrap(Class<T> iface) |
getConnection, getConnectiondefault PrintWriter getLogWriter() throws SQLException
getLogWriter in interface CommonDataSourceSQLExceptiondefault void setLogWriter(PrintWriter out) throws SQLException
setLogWriter in interface CommonDataSourceSQLExceptiondefault void setLoginTimeout(int seconds)
throws SQLException
setLoginTimeout in interface CommonDataSourceSQLExceptiondefault int getLoginTimeout()
throws SQLException
getLoginTimeout in interface CommonDataSourceSQLExceptiondefault <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptiondefault boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor in interface WrapperSQLExceptiondefault Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface CommonDataSourceSQLFeatureNotSupportedExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.