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, unwrap
public RetryDataSourceWrapper(javax.sql.DataSource dataSource)
public Connection getConnection() throws SQLException
getConnection
in interface javax.sql.DataSource
getConnection
in class DataSourceWrapper
SQLException
public Connection getConnection(String username, String password) throws SQLException
getConnection
in interface javax.sql.DataSource
getConnection
in class DataSourceWrapper
SQLException