public class RetryDataSourceWrapper extends DataSourceWrapper
| Constructor and Description |
|---|
RetryDataSourceWrapper(javax.sql.DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
Connection |
getConnection(String userName,
String password) |
getLoginTimeout, getLogWriter, getParentLogger, getWrappedDataSource, isWrapperFor, setLoginTimeout, setLogWriter, setWrappedDataSource, unwrappublic RetryDataSourceWrapper(javax.sql.DataSource dataSource)
public Connection getConnection()
throws SQLException
getConnection in interface javax.sql.DataSourcegetConnection in class DataSourceWrapperSQLExceptionpublic Connection getConnection(String userName,
String password)
throws SQLException
getConnection in interface javax.sql.DataSourcegetConnection in class DataSourceWrapperSQLException