|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--planetj.database.connection.DataSourceWrapper
Wraps a DataSource object in DataEngineDataSource interface
| Constructor Summary | |
DataSourceWrapper(javax.sql.DataSource ds,
String userID,
String password)
DataSourceWrapper constructor |
|
| Method Summary | |
Connection |
getConnection()
Gets a connection out of the proxied datasource. |
Connection |
getConnection(String sql)
Gets a Connection which will be used to execute the specified SQL. |
Connection |
getConnection(String userID,
String password)
getConnection method comment. |
int |
getLoginTimeout()
getLoginTimeout method comment. |
PrintWriter |
getLogWriter()
getLogWriter method comment. |
void |
setLoginTimeout(int arg1)
setLoginTimeout method comment. |
void |
setLogWriter(PrintWriter arg1)
setLogWriter method comment. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataSourceWrapper(javax.sql.DataSource ds,
String userID,
String password)
| Method Detail |
public Connection getConnection()
throws SQLException
getConnection in interface javax.sql.DataSourceSQLException
public Connection getConnection(String sql)
throws DataEngineException
getConnection in interface DataEngineDataSourceDataEngineException
public Connection getConnection(String userID,
String password)
throws SQLException
getConnection in interface javax.sql.DataSourceSQLException
public int getLoginTimeout()
throws SQLException
getLoginTimeout in interface javax.sql.DataSourceSQLException
public PrintWriter getLogWriter()
throws SQLException
getLogWriter in interface javax.sql.DataSourceSQLException
public void setLoginTimeout(int arg1)
throws SQLException
setLoginTimeout in interface javax.sql.DataSourceSQLException
public void setLogWriter(PrintWriter arg1)
throws SQLException
setLogWriter in interface javax.sql.DataSourceSQLException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||