public class DbcpDataSource extends BasicDataSource
| Modifier and Type | Field and Description |
|---|---|
protected DataSource |
ds |
closed, connectionInitSqls, connectionPool, connectionProperties, dataSource, defaultAutoCommit, defaultCatalog, defaultReadOnly, defaultTransactionIsolation, driverClassLoader, driverClassName, initialSize, logWriter, maxActive, maxIdle, maxOpenPreparedStatements, maxWait, minEvictableIdleTimeMillis, minIdle, numTestsPerEvictionRun, password, poolPreparedStatements, testOnBorrow, testOnReturn, testWhileIdle, timeBetweenEvictionRunsMillis, url, username, validationQuery, validationQueryTimeout| Constructor and Description |
|---|
DbcpDataSource(String name,
DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.dbcp.ConnectionFactory |
createConnectionFactory() |
void |
setJdbcUrl(String url) |
close, createDataSource, getJdbcDriver, getJdbcUrl, getParentLogger, getPasswordCipher, getUserName, setDefaultTransactionIsolation, setDelegate, setJdbcDriver, setMaxWait, setName, setPasswordCipher, setUserName, toSQLExceptionaddConnectionProperty, createConnectionPool, createDataSourceInstance, createPoolableConnectionFactory, getConnection, getConnection, getConnectionInitSqls, getDefaultAutoCommit, getDefaultCatalog, getDefaultReadOnly, getDefaultTransactionIsolation, getDriverClassLoader, getDriverClassName, getInitialSize, getLogAbandoned, getLoginTimeout, getLogWriter, getMaxActive, getMaxIdle, getMaxOpenPreparedStatements, getMaxWait, getMinEvictableIdleTimeMillis, getMinIdle, getNumActive, getNumIdle, getNumTestsPerEvictionRun, getPassword, getRemoveAbandoned, getRemoveAbandonedTimeout, getTestOnBorrow, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, getUrl, getUsername, getValidationQuery, getValidationQueryTimeout, isAccessToUnderlyingConnectionAllowed, isClosed, isPoolPreparedStatements, isWrapperFor, log, removeConnectionProperty, setAccessToUnderlyingConnectionAllowed, setConnectionInitSqls, setConnectionProperties, setDefaultAutoCommit, setDefaultCatalog, setDefaultReadOnly, setDefaultTransactionIsolation, setDriverClassLoader, setDriverClassName, setInitialSize, setLogAbandoned, setLoginTimeout, setLogWriter, setMaxActive, setMaxIdle, setMaxOpenPreparedStatements, setMaxWait, setMinEvictableIdleTimeMillis, setMinIdle, setNumTestsPerEvictionRun, setPassword, setPoolPreparedStatements, setRemoveAbandoned, setRemoveAbandonedTimeout, setTestOnBorrow, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis, setUrl, setUsername, setValidationQuery, setValidationQueryTimeout, unwrap, validateConnectionFactoryprotected final DataSource ds
public DbcpDataSource(String name, DataSource dataSource)
protected org.apache.commons.dbcp.ConnectionFactory createConnectionFactory()
throws SQLException
createConnectionFactory in class BasicDataSourceSQLExceptionpublic void setJdbcUrl(String url)
setJdbcUrl in class BasicDataSourceCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.