public interface DataSource extends DataSource
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
Connection |
getConnection(String user,
String pass) |
DataSourceDef |
getDataSourceDef() |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
boolean |
isDisabled() |
void |
remove() |
void |
setDataSourceDef(DataSourceDef dsDef) |
void |
setLoginTimeout(int timeout) |
void |
setLogWriter(PrintWriter pw) |
getParentLogger
isWrapperFor, unwrap
void remove() throws SQLException
SQLException
Connection getConnection() throws SQLException
getConnection
in interface DataSource
SQLException
Connection getConnection(String user, String pass) throws SQLException
getConnection
in interface DataSource
SQLException
void setDataSourceDef(DataSourceDef dsDef)
DataSourceDef getDataSourceDef()
PrintWriter getLogWriter() throws SQLException
getLogWriter
in interface CommonDataSource
SQLException
int getLoginTimeout() throws SQLException
getLoginTimeout
in interface CommonDataSource
SQLException
void setLogWriter(PrintWriter pw) throws SQLException
setLogWriter
in interface CommonDataSource
SQLException
void setLoginTimeout(int timeout) throws SQLException
setLoginTimeout
in interface CommonDataSource
SQLException
boolean isDisabled()
Copyright © 2015 Lucee