public abstract class AbstractDataSource extends Object implements DataSource
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
AbstractDataSource() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getLoginTimeout()
Returns 0, indicating the default system timeout is to be used.
|
PrintWriter |
getLogWriter()
LogWriter methods are not supported.
|
Logger |
getParentLogger() |
boolean |
isWrapperFor(Class<?> iface) |
void |
setLoginTimeout(int timeout)
Setting a login timeout is not supported.
|
void |
setLogWriter(PrintWriter pw)
LogWriter methods are not supported.
|
<T> T |
unwrap(Class<T> iface) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnection, getConnectionpublic int getLoginTimeout()
throws SQLException
getLoginTimeout 在接口中 CommonDataSourceSQLExceptionpublic void setLoginTimeout(int timeout)
throws SQLException
setLoginTimeout 在接口中 CommonDataSourceSQLExceptionpublic PrintWriter getLogWriter()
getLogWriter 在接口中 CommonDataSourcepublic void setLogWriter(PrintWriter pw) throws SQLException
setLogWriter 在接口中 CommonDataSourceSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionpublic Logger getParentLogger()
getParentLogger 在接口中 CommonDataSourceCopyright © 2021. All rights reserved.