public interface DriverSource extends DataSource, DbSettings
PROP_DATA_LOCATION, PROP_DRIVER_CLASSNAME, PROP_ENABLE_DEBUG, PROP_PASSWORD, PROP_URL, PROP_USERNAME
Modifier and Type | Method and Description |
---|---|
default String |
getInfo() |
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, getConnection
getDriverClassName, getPassword, getProperty, getUrl, getUsername, isDebugEnabled, setDebugEnabled, setDriverClassName, setPassword, setProperty, setUrl, setUsername
default PrintWriter getLogWriter() throws SQLException
getLogWriter
in interface CommonDataSource
SQLException
default void setLogWriter(PrintWriter out) throws SQLException
setLogWriter
in interface CommonDataSource
SQLException
default int getLoginTimeout() throws SQLException
getLoginTimeout
in interface CommonDataSource
SQLException
default void setLoginTimeout(int seconds) throws SQLException
setLoginTimeout
in interface CommonDataSource
SQLException
default Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
in interface CommonDataSource
SQLFeatureNotSupportedException
default <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
default boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
default String getInfo()
Copyright © 2017. All rights reserved.