- cancel() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- cancelRowUpdates() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- checkOpen() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- checkOpen() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- checkOpen() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
-
- clearBatch() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- clearBatch() - Method in class org.apache.commons.dbcp2.PoolablePreparedStatement
-
Clear Batch.
- clearCachedState() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Can be used to clear cached state when it is known that the underlying
connection may have been accessed directly.
- clearCachedState() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- clearParameters() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- clearTrace() - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Clear the list of objects being traced by this
object.
- clearWarnings() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- clearWarnings() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- clearWarnings() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- clearWarnings() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- close() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Closes and releases all idle connections that are currently stored in the connection pool
associated with this data source.
- close() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Close the connection pool being maintained by this datasource.
- close() - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Close pool(s) being maintained by this datasource.
- close() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Close pool being maintained by this datasource.
- close() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Closes the underlying connection, and close any Statements that were not
explicitly closed.
- close() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
Wrapper for close of ResultSet which removes this
result set from being traced then calls close on
the original ResultSet.
- close() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
Close this DelegatingStatement, and close
any ResultSets that were not explicitly closed.
- close() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
-
- close() - Method in class org.apache.commons.dbcp2.PoolableCallableStatement
-
Returns the CallableStatement to the pool.
- close() - Method in class org.apache.commons.dbcp2.PoolableConnection
-
Returns me to my pool.
- close() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- close() - Method in class org.apache.commons.dbcp2.PoolablePreparedStatement
-
Return me to my pool.
- close() - Method in class org.apache.commons.dbcp2.PoolingConnection
-
- close() - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
- closeInternal() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- closeOnCompletion() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- closePool(String) - Method in class org.apache.commons.dbcp2.PoolingDriver
-
- closeQuietly(ResultSet) - Static method in class org.apache.commons.dbcp2.Utils
-
Closes the ResultSet (which may be null).
- closeQuietly(Connection) - Static method in class org.apache.commons.dbcp2.Utils
-
Closes the Connection (which may be null).
- closeQuietly(Statement) - Static method in class org.apache.commons.dbcp2.Utils
-
Closes the Statement (which may be null).
- commit() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- commit(Xid, boolean) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Commits the transaction and restores the original auto commit setting.
- commit() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
-
- CompletionListener() - Constructor for class org.apache.commons.dbcp2.managed.ManagedConnection.CompletionListener
-
- connect(String, Properties) - Method in class org.apache.commons.dbcp2.PoolingDriver
-
- ConnectionFactory - Interface in org.apache.commons.dbcp2
-
Abstract factory interface for creating
Connection
s.
- Constants - Class in org.apache.commons.dbcp2
-
Constants for use with JMX
- Constants() - Constructor for class org.apache.commons.dbcp2.Constants
-
- createArrayOf(String, Object[]) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- createBlob() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- createClob() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- createConnection() - Method in interface org.apache.commons.dbcp2.ConnectionFactory
-
Create a new
Connection
in an
implementation specific fashion.
- createConnection() - Method in class org.apache.commons.dbcp2.DataSourceConnectionFactory
-
- createConnection() - Method in class org.apache.commons.dbcp2.DriverConnectionFactory
-
- createConnection() - Method in class org.apache.commons.dbcp2.DriverManagerConnectionFactory
-
- createConnection() - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
- createConnection() - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory
-
- createConnection() - Method in interface org.apache.commons.dbcp2.managed.XAConnectionFactory
-
Create a new
Connection
in an implementation specific fashion.
- createConnectionFactory() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Creates a JDBC connection factory for this datasource.
- createConnectionFactory() - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
- createConnectionPool(PoolableConnectionFactory) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Creates a connection pool for this datasource.
- createDataSource() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Create (if necessary) and return the internal data source we are
using to manage our connections.
- createDataSource(Properties) - Static method in class org.apache.commons.dbcp2.BasicDataSourceFactory
-
Creates and configures a
BasicDataSource
instance based on the
given properties.
- createDataSourceInstance() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Creates the actual data source instance.
- createDataSourceInstance() - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
- createKey(String, int) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
- createKey(String, int, int) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Create a PStmtKey for the given arguments.
- createKey(String, int, int, PoolingConnection.StatementType) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Create a PStmtKey for the given arguments.
- createKey(String) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Create a PStmtKey for the given arguments.
- createKey(String, PoolingConnection.StatementType) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Create a PStmtKey for the given arguments.
- createNClob() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- createPoolableConnectionFactory(ConnectionFactory) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Creates the PoolableConnectionFactory and attaches it to the connection pool.
- createPoolableConnectionFactory(ConnectionFactory) - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Creates the PoolableConnectionFactory and attaches it to the connection pool.
- createSQLXML() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- createStatement() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- createStatement(int, int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- createStatement(int, int, int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- createStruct(String, Object[]) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- generatedKeyAlwaysReturned() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getAbandonedLogWriter() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the log writer to be used by this configuration to log
information on abandoned objects.
- getAbandonedUsageTracking() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
If the connection pool implements
UsageTracking
, should the
connection pool record a stack trace every time a method is called on a
pooled connection and retain the most recent stack trace to aid debugging
of abandoned connections?
- getAbandonedUsageTracking() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getActiveTransactionContext() - Method in class org.apache.commons.dbcp2.managed.TransactionRegistry
-
Gets the active TransactionContext or null if not Transaction is active.
- getArray(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getArray(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getArray(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getArray(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getAsciiStream(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getAsciiStream(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getAttributes(String, String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getAutoCommit() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getAutoCommit() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- getAutoGeneratedKeys() - Method in class org.apache.commons.dbcp2.PStmtKey
-
- getBestRowIdentifier(String, String, String, int, boolean) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getBigDecimal(int, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
Deprecated.
- getBigDecimal(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getBigDecimal(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getBigDecimal(int, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
Deprecated.
- getBigDecimal(String, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
Deprecated.
- getBigDecimal(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getBigDecimal(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getBinaryStream(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getBinaryStream(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getBlob(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getBlob(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getBlob(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getBlob(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getBoolean(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getBoolean(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getBoolean(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getBoolean(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getByte(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getByte(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getByte(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getByte(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getBytes(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getBytes(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getBytes(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getBytes(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getCacheState() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the state caching flag.
- getCacheState() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getCacheState() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Returns the state caching flag.
- getCacheState() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- getCacheState() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- getCatalog() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getCatalog() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- getCatalog() - Method in class org.apache.commons.dbcp2.PStmtKey
-
- getCatalogs() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getCatalogSeparator() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getCatalogTerm() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getCharacterStream(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getCharacterStream(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getCharacterStream(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getCharacterStream(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getClientInfo() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getClientInfo(String) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getClientInfoProperties() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getClob(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getClob(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getClob(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getClob(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getColumnPrivileges(String, String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getColumns(String, String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getConcurrency() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getConnection() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Create (if necessary) and return a connection to the database.
- getConnection(String, String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
BasicDataSource does NOT support this method.
- getConnection() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Attempt to establish a database connection.
- getConnection(String, String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getConnection() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getConnection() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getConnection() - Method in class org.apache.commons.dbcp2.managed.ManagedDataSource
-
- getConnection() - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
- getConnection(String, String) - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
- getConnectionFactory() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- getConnectionIndex() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- getConnectionInitSqls() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the list of SQL statements executed when a physical connection
is first created.
- getConnectionInitSqlsAsArray() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getConnectionInitSqlsAsArray() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getConnectionInternal() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getConnectionManager(UserPassKey) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getConnectionManager(UserPassKey) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getConnectionManager(UserPassKey) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
- getConnectionPool() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getConnectionPool(String) - Method in class org.apache.commons.dbcp2.PoolingDriver
-
- getConnectionPoolDataSource() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Get the value of connectionPoolDataSource.
- getConnectionProperties() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Get the connection properties passed to the JDBC driver.
- getCrossReference(String, String, String, String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getCursorName() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getDatabaseMajorVersion() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getDatabaseMinorVersion() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getDatabaseProductName() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getDatabaseProductVersion() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getDataSourceJmxName() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- getDataSourceName() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Get the name of the ConnectionPoolDataSource which backs this pool.
- getDate(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getDate(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getDate(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getDate(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getDate(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getDate(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getDate(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getDate(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getDefaultAutoCommit() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the default auto-commit property.
- getDefaultAutoCommit() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getDefaultBlockWhenExhausted() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultCatalog() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the default catalog.
- getDefaultCatalog() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getDefaultEvictionPolicyClassName() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultLifo() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultMaxIdle() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultMaxTotal() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultMaxWaitMillis() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultMinEvictableIdleTimeMillis() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultMinIdle() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultNumTestsPerEvictionRun() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultQueryTimeout() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Obtain the default query timeout that will be used for
Statement
s
created from this connection.
- getDefaultQueryTimeout() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Obtain the default query timeout that will be used for
Statement
s
created from this connection.
- getDefaultQueryTimeout() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- getDefaultReadOnly() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the default readOnly property.
- getDefaultReadOnly() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getDefaultSoftMinEvictableIdleTimeMillis() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultTestOnBorrow() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultTestOnCreate() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultTestOnReturn() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultTestWhileIdle() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getDefaultTransactionIsolation() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the default transaction isolation state of returned connections.
- getDefaultTransactionIsolation() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getDefaultTransactionIsolation() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Get the value of defaultTransactionIsolation, which defines the state of
connections handed out from this pool.
- getDefaultTransactionIsolation() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getDelegate() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getDelegate() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getDelegate() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getDelegate() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getDelegate() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
-
- getDelegateInternal() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getDescription() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Get the value of description.
- getDescription() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Get the description.
- getDisconnectionSqlCodes() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the set of SQL_STATE codes considered to signal fatal conditions.
- getDisconnectionSqlCodes() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
SQL_STATE codes considered to signal fatal conditions.
- getDisconnectionSqlCodesAsArray() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getDisconnectionSqlCodesAsArray() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getDouble(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getDouble(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getDouble(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getDouble(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getDriver() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the JDBC Driver that has been configured for use by this pool.
- getDriver() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Get the driver classname.
- getDriverClassLoader() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the class loader specified for loading the JDBC driver.
- getDriverClassName() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the jdbc driver class name.
- getDriverClassName() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getDriverMajorVersion() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getDriverMinorVersion() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getDriverName() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getDriverVersion() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getEnableAutoCommitOnReturn() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the value of the flag that controls whether or not connections
being returned to the pool will be checked and configured with
Connection.setAutoCommit(true)
if the auto commit setting is
false
when the connection
is returned.
- getEvictionPolicyClassName() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the EvictionPolicy implementation in use with this connection pool.
- getExportedKeys(String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getExtraNameCharacters() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getFastFailValidation() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
True means that validation will fail immediately for connections that
have previously thrown SQLExceptions with SQL_STATE indicating fatal
disconnection errors.
- getFastFailValidation() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getFetchDirection() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getFetchDirection() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getFetchSize() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getFetchSize() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getFloat(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getFloat(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getFloat(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getFloat(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getFunctionColumns(String, String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getFunctions(String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getGeneratedKeys() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getHoldability() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getHoldability() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getHoldability() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- getIdentifierQuoteString() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getImportedKeys(String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getIndexInfo(String, String, String, boolean, boolean) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getInitialSize() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the initial size of the connection pool.
- getInitialSize() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
If my underlying
Connection
is not a
DelegatingConnection
, returns it,
otherwise recursively invokes this method on
my delegate.
- getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
If my underlying
ResultSet
is not a
DelegatingResultSet
, returns it,
otherwise recursively invokes this method on
my delegate.
- getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
If my underlying
ResultSet
is not a
DelegatingResultSet
, returns it,
otherwise recursively invokes this method on
my delegate.
- getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
If my underlying
Statement
is not a
DelegatingStatement
, returns it,
otherwise recursively invokes this method on
my delegate.
- getInnermostDelegate() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
-
- getInnermostDelegateInternal() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Although this method is public, it is part of the internal API and should
not be used by clients.
- getInstanceKey() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getInt(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getInt(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getInt(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getInt(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getJDBCMajorVersion() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getJDBCMinorVersion() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getJmxName() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the JMX name that has been requested for this DataSource.
- getJndiEnvironment(String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Get the value of jndiEnvironment which is used when instantiating
a jndi InitialContext.
- getLastUsed() - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Get the last time this object was used in ms.
- getLifo() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the LIFO property.
- getLifo() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getLogAbandoned() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Flag to log stack traces for application code which abandoned
a Statement or Connection.
- getLogAbandoned() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getLogExpiredConnections() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
When
BasicDataSource.getMaxConnLifetimeMillis()
is set to limit connection lifetime,
this property determines whether or not log messages are generated when the
pool closes connections due to maximum lifetime exceeded.
- getLogExpiredConnections() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getLoginTimeout() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
BasicDataSource does NOT support this method.
- getLoginTimeout() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the maximum time in seconds that this data source can wait
while attempting to connect to a database.
- getLoginTimeout() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Get the value of loginTimeout.
- getLoginTimeout() - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
- getLogWriter() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the log writer being used by this data source.
- getLogWriter() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Get the log writer for this data source.
- getLogWriter() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Get the value of logWriter.
- getLogWriter() - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
Returns my log writer.
- getLong(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getLong(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getLong(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getLong(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getMajorVersion() - Method in class org.apache.commons.dbcp2.PoolingDriver
-
- getMaxBinaryLiteralLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxCatalogNameLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxCharLiteralLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxColumnNameLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxColumnsInGroupBy() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxColumnsInIndex() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxColumnsInOrderBy() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxColumnsInSelect() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxColumnsInTable() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxConnections() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxConnLifetimeMillis() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the maximum permitted lifetime of a connection in milliseconds.
- getMaxConnLifetimeMillis() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getMaxConnLifetimeMillis() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Returns the maximum permitted lifetime of a connection in milliseconds.
- getMaxCursorNameLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxFieldSize() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getMaxIdle() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the maximum number of connections that can remain idle in the
pool.
- getMaxIdle() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getMaxIdle() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
The maximum number of statements that can remain idle in the
pool, without extra ones being released, or negative for no limit.
- getMaxIndexLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxOpenPreparedStatements() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the value of the maxOpenPreparedStatements
property.
- getMaxOpenPreparedStatements() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getMaxOpenPreparedStatements() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- getMaxPreparedStatements() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Returns the maximum number of prepared statements.
- getMaxProcedureNameLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxRows() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getMaxRowSize() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxSchemaNameLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxStatementLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxStatements() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxTableNameLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxTablesInSelect() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxTotal() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the maximum number of active connections that can be
allocated at the same time.
- getMaxTotal() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getMaxTotal() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
- getMaxUserNameLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getMaxWaitMillis() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the maximum number of milliseconds that the pool will wait
for a connection to be returned before throwing an exception.
- getMaxWaitMillis() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getMessage(String) - Static method in class org.apache.commons.dbcp2.Utils
-
Obtain the correct i18n message for the given key.
- getMessage(String, Object...) - Static method in class org.apache.commons.dbcp2.Utils
-
Obtain the correct i18n message for the given key with placeholders
replaced by the supplied arguments.
- getMetaData() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getMetaData() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- getMetaData() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getMinEvictableIdleTimeMillis() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getMinEvictableIdleTimeMillis() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getMinEvictableIdleTimeMillis() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Returns the minimum amount of time a statement may sit idle in the pool
before it is eligible for eviction by the idle object evictor
(if any).
- getMinIdle() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the minimum number of idle connections in the pool.
- getMinIdle() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getMinorVersion() - Method in class org.apache.commons.dbcp2.PoolingDriver
-
- getMoreResults() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getMoreResults(int) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getNCharacterStream(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getNCharacterStream(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getNCharacterStream(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getNCharacterStream(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getNClob(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getNClob(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getNClob(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getNClob(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getNetworkTimeout() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getNewInstance(Reference) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSourceFactory
-
- getNewInstance(Reference) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSourceFactory
-
- getNString(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getNString(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getNString(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getNString(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getNumActive() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
[Read Only] The current number of active connections that have been
allocated from this data source.
- getNumActive() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getNumActive() - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Get the number of active connections in the default pool.
- getNumActive(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Get the number of active connections in the pool for a given user.
- getNumActive() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Get the number of active connections in the pool.
- getNumericFunctions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getNumIdle() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
[Read Only] The current number of idle connections that are waiting
to be allocated from this data source.
- getNumIdle() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getNumIdle() - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Get the number of idle connections in the default pool.
- getNumIdle(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Get the number of idle connections in the pool for a given user.
- getNumIdle() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Get the number of idle connections in the pool.
- getNumTestsPerEvictionRun() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getNumTestsPerEvictionRun() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getNumTestsPerEvictionRun() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Returns the number of statements to examine during each run of the
idle object evictor thread (if any).
- getObject(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getObject(int, Map<String, Class<?>>) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getObject(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getObject(String, Map<String, Class<?>>) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getObject(int, Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getObject(String, Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getObject(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getObject(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getObject(int, Map<String, Class<?>>) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getObject(String, Map<String, Class<?>>) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getObject(int, Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getObject(String, Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class org.apache.commons.dbcp2.BasicDataSourceFactory
-
Create and return a new BasicDataSource
instance.
- getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
implements ObjectFactory to create an instance of this class
- getParameterMetaData() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- getParentLogger() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getParentLogger() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
- getParentLogger() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getParentLogger() - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
- getParentLogger() - Method in class org.apache.commons.dbcp2.PoolingDriver
-
- getPassword() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the password passed to the JDBC driver to establish connections.
- getPassword() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getPassword() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Get the value of password for the default user.
- getPerUserBlockWhenExhausted(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserDefaultAutoCommit(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserDefaultReadOnly(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserDefaultTransactionIsolation(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserEvictionPolicyClassName(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserLifo(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserMaxIdle(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserMaxTotal(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserMaxWaitMillis(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserMinEvictableIdleTimeMillis(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserMinIdle(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserNumTestsPerEvictionRun(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserSoftMinEvictableIdleTimeMillis(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserTestOnBorrow(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserTestOnCreate(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserTestOnReturn(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserTestWhileIdle(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPerUserTimeBetweenEvictionRunsMillis(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPool() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- getPool() - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
- getPooledConnection() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Attempt to establish a database connection using the default
user and password.
- getPooledConnection(String, String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Attempt to establish a database connection.
- getPooledConnectionAndInfo(String, String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- getPooledConnectionAndInfo(String, String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getPooledConnectionAndInfo(String, String) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
- getPoolNames() - Method in class org.apache.commons.dbcp2.PoolingDriver
-
- getPoolStatements() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- getPrimaryKeys(String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getProcedureColumns(String, String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getProcedures(String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getProcedureTerm() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getPropertyInfo(String, Properties) - Method in class org.apache.commons.dbcp2.PoolingDriver
-
- getPseudoColumns(String, String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getQueryTimeout() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getRef(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getRef(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getRef(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getRef(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getReference() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Referenceable
implementation.
- getReference() - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- getReference() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
- getRegisteredJmxName() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getRemoveAbandonedOnBorrow() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Flag to remove abandoned connections if they exceed the
removeAbandonedTimeout when borrowObject is invoked.
- getRemoveAbandonedOnBorrow() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getRemoveAbandonedOnMaintenance() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Flag to remove abandoned connections if they exceed the
removeAbandonedTimeout during pool maintenance.
- getRemoveAbandonedOnMaintenance() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getRemoveAbandonedTimeout() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Timeout in seconds before an abandoned connection can be removed.
- getRemoveAbandonedTimeout() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getResultSet() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getResultSetConcurrency() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getResultSetConcurrency() - Method in class org.apache.commons.dbcp2.PStmtKey
-
- getResultSetHoldability() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getResultSetHoldability() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getResultSetType() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getResultSetType() - Method in class org.apache.commons.dbcp2.PStmtKey
-
- getRollbackOnReturn() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the current value of the flag that controls if a connection will be
rolled back when it is returned to the pool if auto commit is not enabled
and the connection is not read only.
- getRow() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getRowId(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getRowId(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getRowId(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getRowId(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getRowIdLifetime() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getSchema() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getSchema() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- getSchemas() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getSchemas(String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getSchemaTerm() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getSearchStringEscape() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getSharedConnection() - Method in class org.apache.commons.dbcp2.managed.TransactionContext
-
Gets the connection shared by all ManagedConnections in the transaction.
- getShort(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getShort(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getShort(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getShort(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getSoftMinEvictableIdleTimeMillis() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the minimum amount of time a connection may sit idle in the
pool before it is eligible for eviction by the idle object evictor, with
the extra condition that at least "minIdle" connections remain in the
pool.
- getSoftMinEvictableIdleTimeMillis() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getSql() - Method in class org.apache.commons.dbcp2.PStmtKey
-
- getSQLKeywords() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getSQLStateType() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getSQLXML(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getSQLXML(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getSQLXML(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getSQLXML(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getStatement() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getStmtType() - Method in class org.apache.commons.dbcp2.PStmtKey
-
- getString(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getString(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getString(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getString(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getStringFunctions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getSuperTables(String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getSuperTypes(String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getSystemFunctions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getTablePrivileges(String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getTables(String, String, String, String[]) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getTableTypes() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getTestOnBorrow() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getTestOnBorrow() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getTestOnCreate() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getTestOnCreate() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getTestOnReturn() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getTestWhileIdle() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getTestWhileIdle() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getTime(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getTime(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getTime(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getTime(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getTime(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getTime(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getTime(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getTime(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getTimeBetweenEvictionRunsMillis() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Returns the number of milliseconds to sleep between runs of the
idle object evictor thread.
- getTimeDateFunctions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getTimestamp(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getTimestamp(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getTimestamp(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getTimestamp(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getTimestamp(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getTimestamp(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getTimestamp(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getTimestamp(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getToString() - Method in class org.apache.commons.dbcp2.PoolableConnection
-
- getToString() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- getTrace() - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Get a list of objects being traced by this object.
- getTransactionIsolation() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getTransactionIsolation() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- getTransactionManager() - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Gets the required transaction manager property.
- getTransactionRegistry() - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Gets the transaction registry.
- getTransactionRegistry() - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
- getTransactionRegistry() - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory
-
- getTransactionRegistry() - Method in interface org.apache.commons.dbcp2.managed.XAConnectionFactory
-
Gets the TransactionRegistry for this connection factory which contains a the
XAResource for every connection created by this factory.
- getTransactionTimeout() - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Always returns 0 since we have no way to set a transaction timeout on a JDBC connection.
- getType() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getTypeInfo() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getTypeMap() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getUDTs(String, String, String, int[]) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getUnicodeStream(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
Deprecated.
- getUnicodeStream(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
Deprecated.
- getUpdateCount() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getUrl() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getUrl() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getUrl() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Get the value of url used to locate the database for this datasource.
- getURL(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getURL(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- getURL() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getURL(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getURL(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getUser() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Get the value of default user (login or username).
- getUsername() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- getUsername() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getUserName() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getUsername() - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Gets the username used to authenticate new connections.
- getValidationQuery() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the validation query used to validate connections before
returning them.
- getValidationQuery() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getValidationQuery() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
The SQL query that will be used to validate connections from this pool
before returning them to the caller.
- getValidationQueryTimeout() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the validation query timeout.
- getValidationQueryTimeout() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- getValidationQueryTimeout() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Returns the timeout in seconds before the validation query fails.
- getVersionColumns(String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- getWarnings() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- getWarnings() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- getWarnings() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- getXADataSource() - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Gets the optional XADataSource class name.
- getXaDataSourceInstance() - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Gets the XADataSource instance used by the XAConnectionFactory.
- getXAResource(Connection) - Method in class org.apache.commons.dbcp2.managed.TransactionRegistry
-
Gets the XAResource registered for the connection.
- getXid() - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Gets the current xid of the transaction branch associated with this XAResource.
- initializeConnection(Connection) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- innermostDelegateEquals(Connection) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Compares innermost delegate to the given connection.
- insertRow() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- insertsAreDetected(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- InstanceKeyDataSource - Class in org.apache.commons.dbcp2.datasources
-
The base class for SharedPoolDataSource
and
PerUserPoolDataSource
.
- InstanceKeyDataSource() - Constructor for class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Default no-arg constructor for Serialization
- invalidateConnection(Connection) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Manually invalidates a connection, effectively requesting the pool to try
to close it, remove it from the pool and reclaim pool capacity.
- invalidateConnection(Connection) - Method in class org.apache.commons.dbcp2.PoolingDriver
-
Invalidates the given connection.
- IS_SECURITY_ENABLED - Static variable in class org.apache.commons.dbcp2.Utils
-
- isAccessToUnderlyingConnectionAllowed() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns the value of the accessToUnderlyingConnectionAllowed property.
- isAccessToUnderlyingConnectionAllowed() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- isAccessToUnderlyingConnectionAllowed() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Returns the value of the accessToUnderlyingConnectionAllowed property.
- isAccessToUnderlyingConnectionAllowed() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
-
If false, getDelegate() and getInnermostDelegate() will return null.
- isAccessToUnderlyingConnectionAllowed() - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
Returns the value of the accessToUnderlyingConnectionAllowed property.
- isAccessToUnderlyingConnectionAllowed() - Method in class org.apache.commons.dbcp2.PoolingDriver
-
Returns the value of the accessToUnderlyingConnectionAllowed property.
- isActive() - Method in class org.apache.commons.dbcp2.managed.TransactionContext
-
True if the transaction is active or marked for rollback only.
- isAfterLast() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- isBeforeFirst() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- isCatalogAtStart() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- isClosed() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
If true, this data source is closed and no more connections can be retrieved from this datasource.
- isClosed() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- isClosed() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- isClosed() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- isClosed() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- isClosed() - Method in class org.apache.commons.dbcp2.PoolableConnection
- isClosed() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- isClosedInternal() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- isClosedInternal() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- isCloseOnCompletion() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- isCorrectClass(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSourceFactory
-
- isCorrectClass(String) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSourceFactory
-
- isDefaultAutoCommit() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Get the value of defaultAutoCommit, which defines the state of
connections handed out from this pool.
- isDefaultReadOnly() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Get the value of defaultReadOnly, which defines the state of
connections handed out from this pool.
- isEnableAutoCommitOnReturn() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- isFastFailValidation() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
True means that validation will fail immediately for connections that
have previously thrown SQLExceptions with SQL_STATE indicating fatal
disconnection errors.
- isFirst() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- isLast() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- isPoolable() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- isPoolPreparedStatements() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns true if we are pooling statements.
- isPoolPreparedStatements() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
- isPoolPreparedStatements() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Flag to toggle the pooling of PreparedStatement
s
- isReadOnly() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- isReadOnly() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- isReadOnly() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- isRollbackAfterValidation() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Whether a rollback will be issued after executing the SQL query
that will be used to validate connections from this pool
before returning them to the caller.
- isRollbackOnReturn() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- isSameRM(XAResource) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Returns true if the specified XAResource == this XAResource.
- isValid(int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- isWrapperFor(Class<?>) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- isWrapperFor(Class<?>) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- isWrapperFor(Class<?>) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- isWrapperFor(Class<?>) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- isWrapperFor(Class<?>) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- isWrapperFor(Class<?>) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- isWrapperFor(Class<?>) - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
- setAbandonedLogWriter(PrintWriter) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the log writer to be used by this configuration to log
information on abandoned objects.
- setAbandonedUsageTracking(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
If the connection pool implements
UsageTracking
, configure
whether the connection pool should record a stack trace every time a
method is called on a pooled connection and retain the most recent stack
trace to aid debugging of abandoned connections.
- setAccessToUnderlyingConnectionAllowed(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the value of the accessToUnderlyingConnectionAllowed property.
- setAccessToUnderlyingConnectionAllowed(boolean) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the value of the accessToUnderlyingConnectionAllowed property.
- setAccessToUnderlyingConnectionAllowed(boolean) - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
Sets the value of the accessToUnderlyingConnectionAllowed property.
- setArray(int, Array) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setAsciiStream(String, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setAsciiStream(String, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setAsciiStream(String, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setAsciiStream(int, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setAsciiStream(int, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setAsciiStream(int, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setAutoCommit(boolean) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setAutoCommit(boolean) - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
-
- setAutoCommit(boolean) - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- setBigDecimal(String, BigDecimal) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setBigDecimal(int, BigDecimal) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setBinaryStream(String, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setBinaryStream(String, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setBinaryStream(String, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setBinaryStream(int, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setBinaryStream(int, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setBinaryStream(int, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setBlob(String, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setBlob(String, Blob) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setBlob(String, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setBlob(int, Blob) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setBlob(int, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setBlob(int, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setBoolean(String, boolean) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setBoolean(int, boolean) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setByte(String, byte) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setByte(int, byte) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setBytes(String, byte[]) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setBytes(int, byte[]) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setCacheState(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the state caching flag.
- setCacheState(boolean) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Sets the state caching flag.
- setCacheState(boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- setCacheState(boolean) - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- setCatalog(String) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setCatalog(String) - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- setCharacterStream(String, Reader, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setCharacterStream(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setCharacterStream(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setCharacterStream(int, Reader, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setCharacterStream(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setCharacterStream(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setClientInfo(String, String) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setClientInfo(Properties) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setClob(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setClob(String, Clob) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setClob(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setClob(int, Clob) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setClob(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setClob(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setClosedInternal(boolean) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setClosedInternal(boolean) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- setConnectionInitSql(Collection<String>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the SQL statements I use to initialize newly created
Connection
s.
- setConnectionInitSqls(Collection<String>) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the list of SQL statements to be executed when a physical
connection is first created.
- setConnectionPoolDataSource(ConnectionPoolDataSource) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Set the backend ConnectionPoolDataSource.
- setConnectionProperties(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the connection properties passed to driver.connect(...).
- setConnectionProperties(Properties) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Set the connection properties passed to the JDBC driver.
- setCursorName(String) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- setDataSourceName(String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Set the name of the ConnectionPoolDataSource which backs this pool.
- setDate(String, Date) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setDate(String, Date, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setDate(int, Date) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setDate(int, Date, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setDefaultAutoCommit(Boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets default auto-commit state of connections returned by this
datasource.
- setDefaultAutoCommit(Boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Set the value of defaultAutoCommit, which defines the state of
connections handed out from this pool.
- setDefaultAutoCommit(Boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the default "auto commit" setting for borrowed
Connection
s
- setDefaultBlockWhenExhausted(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultCatalog(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the default catalog.
- setDefaultCatalog(String) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the default "catalog" setting for borrowed
Connection
s
- setDefaultEvictionPolicyClassName(String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultLifo(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultMaxIdle(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultMaxTotal(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultMaxWaitMillis(long) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultMinIdle(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultNumTestsPerEvictionRun(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultQueryTimeout(Integer) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Set the default query timeout that will be used for
Statement
s
created from this connection.
- setDefaultQueryTimeout(Integer) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Set the default query timeout that will be used for
Statement
s
created from this connection.
- setDefaultQueryTimeout(Integer) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- setDefaultReadOnly(Boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets defaultReadonly property.
- setDefaultReadOnly(Boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Set the value of defaultReadOnly, which defines the state of
connections handed out from this pool.
- setDefaultReadOnly(Boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the default "read only" setting for borrowed
Connection
s
- setDefaultSoftMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultTestOnBorrow(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultTestOnCreate(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultTestOnReturn(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultTestWhileIdle(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultTimeBetweenEvictionRunsMillis(long) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setDefaultTransactionIsolation(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the default transaction isolation state for returned
connections.
- setDefaultTransactionIsolation(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Set the value of defaultTransactionIsolation, which defines the state of
connections handed out from this pool.
- setDefaultTransactionIsolation(int) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the default "Transaction Isolation" setting for borrowed
Connection
s
- setDelegate(C) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Sets my delegate.
- setDelegate(Statement) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
Sets my delegate.
- setDescription(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Set the value of description.
- setDescription(String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Set the description.
- setDisconnectionSqlCodes(Collection<String>) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the SQL_STATE codes considered to signal fatal conditions.
- setDisconnectionSqlCodes(Collection<String>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- setDouble(String, double) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setDouble(int, double) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setDriver(Driver) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the JDBC Driver instance to use for this pool.
- setDriver(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Set the driver classname.
- setDriverClassLoader(ClassLoader) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the class loader to be used to load the JDBC driver.
- setDriverClassName(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the jdbc driver class name.
- setEnableAutoCommitOnReturn(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the value of the flag that controls whether or not connections
being returned to the pool will be checked and configured with
Connection.setAutoCommit(true)
if the auto commit setting is
false
when the connection
is returned.
- setEnableAutoCommitOnReturn(boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- setEscapeProcessing(boolean) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- setEvictionPolicyClassName(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the EvictionPolicy implementation to use with this connection pool.
- setFastFailValidation(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setFastFailValidation(boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- setFetchDirection(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- setFetchDirection(int) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- setFetchSize(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
- setFetchSize(int) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- setFloat(String, float) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setFloat(int, float) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setHoldability(int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setHoldability(int) - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- setInitialSize(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the initial size of the connection pool.
- setInt(String, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setInt(int, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setJmxName(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the JMX name that has been requested for this DataSource.
- setJndiEnvironment(String, String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the value of the given JNDI environment property to be used when
instantiating a JNDI InitialContext.
- setLastUsed() - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Set the time this object was last used to the
current time in ms.
- setLastUsed(long) - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Set the time in ms this object was last used.
- setLifo(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the LIFO property.
- setLogAbandoned(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setLogExpiredConnections(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
When
BasicDataSource.getMaxConnLifetimeMillis()
is set to limit connection lifetime,
this property determines whether or not log messages are generated when the
pool closes connections due to maximum lifetime exceeded.
- setLoginTimeout(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
BasicDataSource does NOT support this method.
- setLoginTimeout(int) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the maximum time in seconds that this data source will wait
while attempting to connect to a database.
- setLoginTimeout(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Set the value of loginTimeout.
- setLoginTimeout(int) - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
- setLogWriter(PrintWriter) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the log writer being used by this data source.
- setLogWriter(PrintWriter) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Set the log writer for this data source.
- setLogWriter(PrintWriter) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Set the value of logWriter.
- setLogWriter(PrintWriter) - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
Sets my log writer.
- setLong(String, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setLong(int, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the maximum permitted lifetime of a connection in
milliseconds.
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the maximum permitted lifetime of a connection in
milliseconds.
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the maximum lifetime in milliseconds of a connection after which the
connection will always fail activation, passivation and validation.
- setMaxFieldSize(int) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- setMaxIdle(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the maximum number of connections that can remain idle in the
pool.
- setMaxIdle(int) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
The maximum number of statements that can remain idle in the
pool, without extra ones being released, or negative for no limit.
- setMaxOpenPreparedStatements(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the value of the maxOpenPreparedStatements
property.
- setMaxOpenPrepatedStatements(int) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- setMaxPreparedStatements(int) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the maximum number of prepared statements.
- setMaxRows(int) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- setMaxTotal(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the maximum total number of idle and borrows connections that can be
active at the same time.
- setMaxTotal(int) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
- setMaxWaitMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the MaxWaitMillis property.
- setMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setMinEvictableIdleTimeMillis(int) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the minimum amount of time a statement may sit idle in the pool
before it is eligible for eviction by the idle object evictor
(if any).
- setMinIdle(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the minimum number of idle connections in the pool.
- setNCharacterStream(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setNCharacterStream(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setNCharacterStream(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setNCharacterStream(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setNClob(String, NClob) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setNClob(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setNClob(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setNClob(int, NClob) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setNClob(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setNClob(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setNetworkTimeout(Executor, int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setNString(String, String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setNString(int, String) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setNull(String, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setNull(String, int, String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setNull(int, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setNull(int, int, String) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setNumTestsPerEvictionRun(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setNumTestsPerEvictionRun(int) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the number of statements to examine during each run of the
idle object evictor thread (if any).
- setObject(String, Object, int, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setObject(String, Object, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setObject(String, Object) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setObject(int, Object, int, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setObject(int, Object, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setObject(int, Object) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setPassword(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setPassword(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Set the value of password for the default user.
- setPassword(String) - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Sets the password used to authenticate new connections.
- setPerUserBlockWhenExhausted(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserDefaultAutoCommit(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserDefaultReadOnly(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserDefaultTransactionIsolation(String, Integer) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserEvictionPolicyClassName(String, String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserLifo(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserMaxIdle(String, Integer) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserMaxTotal(String, Integer) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserMaxWaitMillis(String, Long) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserMinEvictableIdleTimeMillis(String, Long) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserMinIdle(String, Integer) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserNumTestsPerEvictionRun(String, Integer) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserSoftMinEvictableIdleTimeMillis(String, Long) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserTestOnBorrow(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserTestOnCreate(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserTestOnReturn(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserTestWhileIdle(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setPerUserTimeBetweenEvictionRunsMillis(String, Long) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
()
for the specified
user's pool.
- setPool(ObjectPool<PoolableConnection>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- setPoolable(boolean) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- setPoolPreparedStatements(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets whether to pool statements or not.
- setPoolPreparedStatements(boolean) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Flag to toggle the pooling of PreparedStatement
s
- setPoolStatements(boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- setQueryTimeout(int) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
- setReadOnly(boolean) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setReadOnly(boolean) - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
-
- setReadOnly(boolean) - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- setRef(int, Ref) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setRemoveAbandonedOnBorrow(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setRemoveAbandonedOnMaintenance(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setRemoveAbandonedTimeout(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the timeout in seconds before an abandoned connection can be
removed.
- setRollbackAfterValidation(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Whether a rollback will be issued after executing the SQL query
that will be used to validate connections from this pool
before returning them to the caller.
- setRollbackOnReturn(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the flag that controls if a connection will be rolled back when it
is returned to the pool if auto commit is not enabled and the connection
is not read only.
- setRollbackOnReturn(boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- setRowId(String, RowId) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setRowId(int, RowId) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setSavepoint() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setSavepoint(String) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setSchema(String) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setSchema(String) - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- setSharedConnection(Connection) - Method in class org.apache.commons.dbcp2.managed.TransactionContext
-
Sets the shared connection for this transaction.
- setShort(String, short) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setShort(int, short) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setSoftMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the minimum amount of time a connection may sit idle in the pool
before it is eligible for eviction by the idle object evictor, with the
extra condition that at least "minIdle" connections remain in the pool.
- setSQLXML(String, SQLXML) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setSQLXML(int, SQLXML) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setStatementPool(KeyedObjectPool<PStmtKey, DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
- setString(String, String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setString(int, String) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setTestOnBorrow(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setTestOnCreate(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setTestOnReturn(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the testOnReturn
property.
- setTestWhileIdle(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the testWhileIdle
property.
- setTime(String, Time) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setTime(String, Time, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setTime(int, Time) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setTime(int, Time, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setTimeBetweenEvictionRunsMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setTimeBetweenEvictionRunsMillis(long) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the number of milliseconds to sleep between runs of the
idle object evictor thread.
- setTimestamp(String, Timestamp) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setTimestamp(String, Timestamp, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setTimestamp(int, Timestamp) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setTimestamp(int, Timestamp, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setTransactionIsolation(int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setTransactionIsolation(int) - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
-
- setTransactionManager(TransactionManager) - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Sets the required transaction manager property.
- setTransactionRegistry(TransactionRegistry) - Method in class org.apache.commons.dbcp2.managed.ManagedDataSource
-
Sets the transaction registry from the XAConnectionFactory used to create the pool.
- setTransactionTimeout(int) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Always returns false since we have no way to set a transaction timeout on a JDBC connection.
- setTypeMap(Map<String, Class<?>>) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
- setUnicodeStream(int, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
Deprecated.
- setupDefaults(Connection, String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
- setupDefaults(Connection, String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
- setupDefaults(Connection, String) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
- setUrl(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setUrl(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Set the value of url used to locate the database for this datasource.
- setURL(String, URL) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
-
- setURL(int, URL) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
- setUser(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Set the value of default user (login or username).
- setUsername(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setUsername(String) - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Sets the username used to authenticate new connections.
- setValidationQuery(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
- setValidationQuery(String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
The SQL query that will be used to validate connections from this pool
before returning them to the caller.
- setValidationQuery(String) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
- setValidationQueryTimeout(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the validation query timeout, the amount of time, in seconds, that
connection validation will wait for a response from the database when
executing a validation query.
- setValidationQueryTimeout(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the timeout in seconds before the validation query fails.
- setValidationQueryTimeout(int) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the validation query timeout, the amount of time, in seconds, that
connection validation will wait for a response from the database when
executing a validation query.
- setXADataSource(String) - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Sets the optional XADataSource class name.
- setXaDataSourceInstance(XADataSource) - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Sets the XADataSource instance used by the XAConnectionFactory.
- SharedPoolDataSource - Class in org.apache.commons.dbcp2.datasources
-
A pooling DataSource
appropriate for deployment within
J2EE environment.
- SharedPoolDataSource() - Constructor for class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Default no-arg constructor for Serialization
- SharedPoolDataSourceFactory - Class in org.apache.commons.dbcp2.datasources
-
A JNDI ObjectFactory which creates SharedPoolDataSource
s
- SharedPoolDataSourceFactory() - Constructor for class org.apache.commons.dbcp2.datasources.SharedPoolDataSourceFactory
-
- start(Xid, int) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Signals that a the connection has been enrolled in a transaction.
- startPoolMaintenance() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Starts the connection pool maintenance task, if configured.
- storesLowerCaseIdentifiers() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- storesLowerCaseQuotedIdentifiers() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- storesMixedCaseIdentifiers() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- storesMixedCaseQuotedIdentifiers() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- storesUpperCaseIdentifiers() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- storesUpperCaseQuotedIdentifiers() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsAlterTableWithAddColumn() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsAlterTableWithDropColumn() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsANSI92EntryLevelSQL() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsANSI92FullSQL() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsANSI92IntermediateSQL() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsBatchUpdates() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsCatalogsInDataManipulation() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsCatalogsInIndexDefinitions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsCatalogsInPrivilegeDefinitions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsCatalogsInProcedureCalls() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsCatalogsInTableDefinitions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsColumnAliasing() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsConvert() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsConvert(int, int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsCoreSQLGrammar() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsCorrelatedSubqueries() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsDataDefinitionAndDataManipulationTransactions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsDataManipulationTransactionsOnly() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsDifferentTableCorrelationNames() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsExpressionsInOrderBy() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsExtendedSQLGrammar() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsFullOuterJoins() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsGetGeneratedKeys() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsGroupBy() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsGroupByBeyondSelect() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsGroupByUnrelated() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsIntegrityEnhancementFacility() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsLikeEscapeClause() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsLimitedOuterJoins() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsMinimumSQLGrammar() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsMixedCaseIdentifiers() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsMixedCaseQuotedIdentifiers() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsMultipleOpenResults() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsMultipleResultSets() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsMultipleTransactions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsNamedParameters() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsNonNullableColumns() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsOpenCursorsAcrossCommit() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsOpenCursorsAcrossRollback() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsOpenStatementsAcrossCommit() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsOpenStatementsAcrossRollback() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsOrderByUnrelated() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsOuterJoins() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsPositionedDelete() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsPositionedUpdate() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsResultSetConcurrency(int, int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsResultSetHoldability(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsResultSetType(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSavepoints() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSchemasInDataManipulation() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSchemasInIndexDefinitions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSchemasInPrivilegeDefinitions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSchemasInProcedureCalls() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSchemasInTableDefinitions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSelectForUpdate() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsStatementPooling() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsStoredFunctionsUsingCallSyntax() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsStoredProcedures() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSubqueriesInComparisons() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSubqueriesInExists() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSubqueriesInIns() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsSubqueriesInQuantifieds() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsTableCorrelationNames() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsTransactionIsolationLevel(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsTransactions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsUnion() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- supportsUnionAll() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
- SwallowedExceptionLogger - Class in org.apache.commons.dbcp2
-
Class for logging swallowed exceptions.
- SwallowedExceptionLogger(Log) - Constructor for class org.apache.commons.dbcp2.SwallowedExceptionLogger
-
Create a SwallowedExceptionLogger with the given logger.
- SwallowedExceptionLogger(Log, boolean) - Constructor for class org.apache.commons.dbcp2.SwallowedExceptionLogger
-
Create a SwallowedExceptionLogger with the given logger and expired
connection logging property.