public class DbcpDataSource extends BasicDataSource
| Modifier and Type | Field and Description |
|---|---|
protected javax.sql.DataSource |
ds |
| Constructor and Description |
|---|
DbcpDataSource(java.lang.String name,
javax.sql.DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
protected ConnectionFactory |
createConnectionFactory() |
void |
setJdbcUrl(java.lang.String url) |
close, createDataSource, getJdbcDriver, getJdbcUrl, getLoginTimeout, getParentLogger, getPasswordCipher, getUserName, preRegister, setDefaultTransactionIsolation, setDelegate, setJdbcDriver, setMaxWait, setName, setPassword, setPasswordCipher, setUserName, toSQLExceptionpublic DbcpDataSource(java.lang.String name,
javax.sql.DataSource dataSource)
protected ConnectionFactory createConnectionFactory()
throws java.sql.SQLException
createConnectionFactory in class BasicDataSourcejava.sql.SQLExceptionpublic void setJdbcUrl(java.lang.String url)
setJdbcUrl in class BasicDataSource