Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abandonedConfig - Variable in class org.apache.commons.dbcp2.BasicDataSource
- AbandonedTrace - Class in org.apache.commons.dbcp2
-
Tracks connection usage for recovering and reporting abandoned connections.
- AbandonedTrace() - Constructor for class org.apache.commons.dbcp2.AbandonedTrace
-
Creates a new AbandonedTrace without config and without doing abandoned tracing.
- AbandonedTrace(AbandonedTrace) - Constructor for class org.apache.commons.dbcp2.AbandonedTrace
-
Constructs a new AbandonedTrace with a parent object.
- abort(Connection, Executor) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
Connection.abort(Executor)without throwing anAbstractMethodError. - abort(Executor) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- abort(Executor) - Method in class org.apache.commons.dbcp2.PoolableConnection
-
Abort my underlying
Connection. - absolute(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- accept(Properties, String, Function<String, V>, Consumer<V>) - Static method in class org.apache.commons.dbcp2.BasicDataSourceFactory
- acceptBoolean(Properties, String, Consumer<Boolean>) - Static method in class org.apache.commons.dbcp2.BasicDataSourceFactory
- acceptDurationOfMillis(Properties, String, Consumer<Duration>) - Static method in class org.apache.commons.dbcp2.BasicDataSourceFactory
- acceptDurationOfSeconds(Properties, String, Consumer<Duration>) - Static method in class org.apache.commons.dbcp2.BasicDataSourceFactory
- acceptInt(Properties, String, Consumer<Integer>) - Static method in class org.apache.commons.dbcp2.BasicDataSourceFactory
- acceptString(Properties, String, Consumer<String>) - Static method in class org.apache.commons.dbcp2.BasicDataSourceFactory
- acceptsURL(String) - Method in class org.apache.commons.dbcp2.PoolingDriver
- accessToUnderlyingConnectionAllowed - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
Controls access to the underlying connection.
- accessToUnderlyingConnectionAllowed - Variable in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
- accessToUnderlyingConnectionAllowed - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Controls access to the underlying connection
- accessToUnderlyingConnectionAllowed - Variable in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Controls access to the underlying connection.
- accessToUnderlyingConnectionAllowed - Variable in class org.apache.commons.dbcp2.managed.ManagedConnection
- accessToUnderlyingConnectionAllowed - Variable in class org.apache.commons.dbcp2.PoolingDataSource
-
Controls access to the underlying connection
- accessToUnderlyingConnectionAllowed - Variable in class org.apache.commons.dbcp2.PoolingDriver
-
Controls access to the underlying connection
- activate() - Method in class org.apache.commons.dbcp2.DelegatingConnection
- activate() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- activate() - Method in class org.apache.commons.dbcp2.PoolableCallableStatement
-
Activates after retrieval from the pool.
- activate() - Method in class org.apache.commons.dbcp2.PoolablePreparedStatement
- activateObject(UserPassKey, PooledObject<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- activateObject(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
My
KeyedPooledObjectFactorymethod for activatingPreparedStatements. - activateObject(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
KeyedPooledObjectFactorymethod for activating pooled statements. - activateObject(PooledObject<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- activateObject(PooledObject<PoolableConnection>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- add(AbandonedTrace, AbandonedTrace) - Static method in class org.apache.commons.dbcp2.AbandonedTrace
- addBatch() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- addBatch() - Method in class org.apache.commons.dbcp2.PoolablePreparedStatement
-
Add batch.
- addBatch(String) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- addConnectionEventListener(ConnectionEventListener) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- addConnectionProperty(String, String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Adds a custom connection property to the set that will be passed to our JDBC driver.
- addStatementEventListener(StatementEventListener) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- addTrace(AbandonedTrace) - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Adds an object to the list of objects being traced.
- addTransactionContextListener(TransactionContextListener) - Method in class org.apache.commons.dbcp2.managed.TransactionContext
-
Adds a listener for transaction completion events.
- afterCompletion(int) - Method in class org.apache.commons.dbcp2.managed.SynchronizationAdapter
- afterCompletion(TransactionContext, boolean) - Method in class org.apache.commons.dbcp2.managed.ManagedConnection.CompletionListener
- afterCompletion(TransactionContext, boolean) - Method in interface org.apache.commons.dbcp2.managed.TransactionContextListener
-
Occurs after the transaction commits or rolls back.
- afterLast() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- ALL_PROPERTY_NAMES - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- allProceduresAreCallable() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- allTablesAreSelectable() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- assertInitializationAllowed() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Throws an IllegalStateException, if a PooledConnection has already been requested.
- assertInitializationAllowed() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Throws an IllegalStateException, if a PooledConnection has already been requested.
- assertOpen() - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Throws an SQLException, if isClosed is true
- asString() - Method in class org.apache.commons.dbcp2.datasources.CharArray
-
Converts the value of char array as a String.
- autoCommitFailureClosesAllResultSets() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- autoCommitOnReturn - Variable in class org.apache.commons.dbcp2.BasicDataSource
- autoCommitOnReturn - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- autoGeneratedKeys - Variable in class org.apache.commons.dbcp2.PStmtKey
-
A flag indicating whether auto-generated keys should be returned; one of
Statement.RETURN_GENERATED_KEYSorStatement.NO_GENERATED_KEYS.
B
- BAD_TRANSACTION_ISOLATION - Static variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- BasicDataSource - Class in org.apache.commons.dbcp2
-
Basic implementation of
javax.sql.DataSourcethat is configured via JavaBeans properties. - BasicDataSource() - Constructor for class org.apache.commons.dbcp2.BasicDataSource
- BasicDataSourceFactory - Class in org.apache.commons.dbcp2
-
JNDI object factory that creates an instance of
BasicDataSourcethat has been configured based on theRefAddrvalues of the specifiedReference, which must match the names and data types of theBasicDataSourcebean properties with the following exceptions:connectionInitSqlsmust be passed to this factory as a single String using semicolon to delimit the statements whereasBasicDataSourcerequires a collection of Strings. - BasicDataSourceFactory() - Constructor for class org.apache.commons.dbcp2.BasicDataSourceFactory
- BasicDataSourceMXBean - Interface in org.apache.commons.dbcp2
-
Interface to keep API compatibility.
- BasicManagedDataSource - Class in org.apache.commons.dbcp2.managed
-
BasicManagedDataSource is an extension of BasicDataSource which creates ManagedConnections.
- BasicManagedDataSource() - Constructor for class org.apache.commons.dbcp2.managed.BasicManagedDataSource
- batchAdded - Variable in class org.apache.commons.dbcp2.PoolablePreparedStatement
- beforeCompletion() - Method in class org.apache.commons.dbcp2.managed.SynchronizationAdapter
- beforeFirst() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
C
- cachedAutoCommit - Variable in class org.apache.commons.dbcp2.DelegatingConnection
- cachedCatalog - Variable in class org.apache.commons.dbcp2.DelegatingConnection
- cachedReadOnly - Variable in class org.apache.commons.dbcp2.DelegatingConnection
- cachedSchema - Variable in class org.apache.commons.dbcp2.DelegatingConnection
- caches - Variable in class org.apache.commons.dbcp2.managed.TransactionRegistry
- cacheState - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The property that controls if the pooled connections cache some state rather than query the database for current state to improve performance.
- cacheState - Variable in class org.apache.commons.dbcp2.DelegatingConnection
- cacheState - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- CALLABLE_STATEMENT - Enum constant in enum org.apache.commons.dbcp2.PoolingConnection.StatementType
-
Callable statement.
- CallConcurrency - Static variable in class org.apache.commons.dbcp2.PStmtKey
- CallHoldability - Static variable in class org.apache.commons.dbcp2.PStmtKey
- CallSQL - Static variable in class org.apache.commons.dbcp2.PStmtKey
- cancel() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- cancelRowUpdates() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- catalog - Variable in class org.apache.commons.dbcp2.PStmtKey
-
Database catalog.
- causeList - Variable in exception class org.apache.commons.dbcp2.SQLExceptionList
- CharArray - Class in org.apache.commons.dbcp2.datasources
-
A
chararray wrapper that does not reveal its contents inadvertently through toString(). - CharArray(char[]) - Constructor for class org.apache.commons.dbcp2.datasources.CharArray
- CharArray(String) - Constructor for class org.apache.commons.dbcp2.datasources.CharArray
- chars - Variable in class org.apache.commons.dbcp2.datasources.CharArray
- checkCurrentXid() - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
- 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
- clear() - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Clears pool(s) maintained by this data source.
- 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
-
Clears the cached state.
- clearCachedState() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
- clearParameters() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- clearStatementPoolOnReturn - Variable in class org.apache.commons.dbcp2.BasicDataSource
- clearStatementPoolOnReturn - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- clearStatementPoolOnReturn - Variable in class org.apache.commons.dbcp2.PoolingConnection
- clearTrace() - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Clears 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
- clone(char[]) - Static method in class org.apache.commons.dbcp2.Utils
-
Clones the given char[] if not null.
- clone(int[]) - Method in class org.apache.commons.dbcp2.PStmtKey
- clone(String[]) - Method in class org.apache.commons.dbcp2.PStmtKey
- cloneWithoutCredentials(Properties) - Static method in class org.apache.commons.dbcp2.Utils
-
Clones the given
Propertieswithout the standard "user" or "password" entries. - close() - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Subclasses can implement this nop.
- 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.cpdsadapter.ConnectionImpl
-
Marks the Connection as closed, and notifies the pool that the pooled connection is available.
- close() - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Closes the physical connection and marks this
PooledConnectionso that it may not be used to generate any more logicalConnections. - close() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Closes the connection pool being maintained by this datasource.
- close() - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Closes pool(s) maintained by this data source.
- close() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Closes pool being maintained by this data source.
- 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
-
Closes and frees all
PreparedStatements orCallableStatements from the pool, and close the underlying connection. - close() - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
Closes and free all
Connections from the pool. - close() - Method in class org.apache.commons.dbcp2.PoolingDataSource.PoolGuardConnectionWrapper
- close(AutoCloseable, Consumer<Exception>) - Static method in class org.apache.commons.dbcp2.Utils
-
Closes the given
AutoCloseableand if an exception is caught, then callsexceptionHandler. - close(Consumer<Exception>) - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Closes this resource and if an exception is caught, then calls
exceptionHandler. - closeAll() - Static method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
-
Closes all pools associated with this class.
- closeConnectionPool() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Closes the connection pool, silently swallowing any exception that occurs.
- closed - Variable in class org.apache.commons.dbcp2.BasicDataSource
- closed - Variable in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Flag set to true, once
PooledConnectionImpl.close()is called. - closed - Variable in class org.apache.commons.dbcp2.DelegatingConnection
- closed - Variable in class org.apache.commons.dbcp2.DelegatingStatement
- CLOSED - Static variable in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- closeDueToException(PooledConnectionAndInfo) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- closeInternal() - Method in class org.apache.commons.dbcp2.DelegatingConnection
- closeOnCompletion() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- closeOnCompletion(Statement) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
Statement.closeOnCompletion()without throwing anAbstractMethodError. - closePool(String) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Verifies that the user name matches the user whose connections are being managed by this factory and closes the pool if this is the case; otherwise does nothing.
- closePool(String) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
This implementation does not fully close the KeyedObjectPool, as this would affect all users.
- closePool(String) - Method in interface org.apache.commons.dbcp2.datasources.PooledConnectionManager
-
Closes the connection pool associated with the given user.
- closePool(String) - Method in class org.apache.commons.dbcp2.PoolingDriver
-
Closes a named pool.
- closeQuietly(AutoCloseable) - Static method in class org.apache.commons.dbcp2.Utils
-
Closes the AutoCloseable (which may be null).
- closeQuietly(Connection) - Static method in class org.apache.commons.dbcp2.Utils
-
Deprecated.
- closeQuietly(ResultSet) - Static method in class org.apache.commons.dbcp2.Utils
-
Deprecated.
- closeQuietly(Statement) - Static method in class org.apache.commons.dbcp2.Utils
-
Deprecated.
- columnIndexes - Variable in class org.apache.commons.dbcp2.PStmtKey
-
An array of column indexes indicating the columns that should be returned from the inserted row or rows.
- columnNames - Variable in class org.apache.commons.dbcp2.PStmtKey
-
An array of column names indicating the columns that should be returned from the inserted row or rows.
- commit() - Method in class org.apache.commons.dbcp2.DelegatingConnection
- commit() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
- commit(Xid, boolean) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Commits the transaction and restores the original auto commit setting.
- completeTransaction() - Method in class org.apache.commons.dbcp2.managed.TransactionContext
-
Sets the transaction complete flag to true.
- CompletionListener() - Constructor for class org.apache.commons.dbcp2.managed.ManagedConnection.CompletionListener
- connect(String, Properties) - Method in class org.apache.commons.dbcp2.PoolingDriver
- connection - Variable in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
The JDBC database connection that represents the physical db connection.
- connection - Variable in class org.apache.commons.dbcp2.DelegatingConnection
-
My delegate
Connection. - connection - Variable in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
The connection that created me.
- connection - Variable in class org.apache.commons.dbcp2.DelegatingResultSet
-
The Connection that created me, if any.
- connection - Variable in class org.apache.commons.dbcp2.DelegatingStatement
-
The connection that created me.
- connection - Variable in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
- connectionClosed(ConnectionEvent) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
This will be called if the Connection returned by the getConnection method came from a PooledConnection, and the user calls the close() method of this connection object.
- connectionClosed(ConnectionEvent) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
This will be called if the Connection returned by the getConnection method came from a PooledConnection, and the user calls the close() method of this connection object.
- connectionClosed(ConnectionEvent) - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory.XAConnectionEventListener
- connectionErrorOccurred(ConnectionEvent) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
If a fatal error occurs, close the underlying physical connection so as not to be returned in the future
- connectionErrorOccurred(ConnectionEvent) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
If a fatal error occurs, close the underlying physical connection so as not to be returned in the future
- connectionErrorOccurred(ConnectionEvent) - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory.XAConnectionEventListener
- connectionFactory - Variable in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory
- connectionFactory - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- ConnectionFactory - Interface in org.apache.commons.dbcp2
-
Abstract factory interface for creating
Connections. - connectionFactoryClassName - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The fully qualified Java class name of a
ConnectionFactoryimplementation. - ConnectionFactoryFactory - Class in org.apache.commons.dbcp2
- ConnectionFactoryFactory() - Constructor for class org.apache.commons.dbcp2.ConnectionFactoryFactory
- ConnectionImpl - Class in org.apache.commons.dbcp2.cpdsadapter
-
This class is the
Connectionthat will be returned fromPooledConnectionImpl.getConnection(). - ConnectionImpl(PooledConnectionImpl, Connection, boolean) - Constructor for class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
Creates a
ConnectionImpl. - connectionIndex - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- connectionInitSqls - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
These SQL statements run once after a Connection is created.
- connectionInitSqls - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- connectionPool - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The object pool that internally manages our connections.
- connectionProperties - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The connection properties that will be sent to our JDBC driver when establishing new connections.
- connectionProperties - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Connection properties passed to JDBC Driver
- connectionReturnedToPool() - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Notification from
PoolableConnectionthat we returned to the pool. - connectionString - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The connection string to be passed to our JDBC driver to establish a connection.
- connectionString - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Connection string
- connectionString - Variable in class org.apache.commons.dbcp2.DriverConnectionFactory
- connectionUri - Variable in class org.apache.commons.dbcp2.DriverManagerConnectionFactory
- Constants - Class in org.apache.commons.dbcp2
-
Constants.
- Constants() - Constructor for class org.apache.commons.dbcp2.Constants
- convertMap(Map<String, Duration>, Map<String, Long>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Converts a map with Long milliseconds values to another map with Duration values.
- cpds - Variable in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- cpds - Variable in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- CPDSConnectionFactory - Class in org.apache.commons.dbcp2.datasources
-
A
PooledObjectFactorythat createsPoolableConnections. - CPDSConnectionFactory(ConnectionPoolDataSource, String, int, boolean, String, char[]) - Constructor for class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- CPDSConnectionFactory(ConnectionPoolDataSource, String, int, boolean, String, String) - Constructor for class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- CPDSConnectionFactory(ConnectionPoolDataSource, String, Duration, boolean, String, char[]) - Constructor for class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Creates a new
PoolableConnectionFactory. - CPDSConnectionFactory(ConnectionPoolDataSource, String, Duration, boolean, String, String) - Constructor for class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Creates a new
PoolableConnectionFactory. - 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
Connectionin 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
Connectionin an implementation specific fashion. - createConnectionFactory() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Creates a JDBC connection factory for this data source.
- createConnectionFactory() - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
- createConnectionFactory(BasicDataSource, Driver) - Static method in class org.apache.commons.dbcp2.ConnectionFactoryFactory
-
Creates a new
DriverConnectionFactoryallowing for an override throughBasicDataSource.getDriverClassName(). - 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
-
Creates (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
BasicDataSourceinstance 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
- createDriver(BasicDataSource) - Static method in class org.apache.commons.dbcp2.DriverFactory
- createKey(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates a
PStmtKeyfor the given arguments. - createKey(String) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- createKey(String, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates a
PStmtKeyfor the given arguments. - createKey(String, int) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- createKey(String, int[]) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates a
PStmtKeyfor the given arguments. - createKey(String, int[]) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- createKey(String, int, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates a
PStmtKeyfor the given arguments. - createKey(String, int, int) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- createKey(String, int, int, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates a
PStmtKeyfor the given arguments. - createKey(String, int, int, int) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- createKey(String, int, int, int, PoolingConnection.StatementType) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates a
PStmtKeyfor the given arguments. - createKey(String, int, int, int, PoolingConnection.StatementType) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- createKey(String, int, int, PoolingConnection.StatementType) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates a
PStmtKeyfor the given arguments. - createKey(String, int, int, PoolingConnection.StatementType) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- createKey(String, String[]) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates a
PStmtKeyfor the given arguments. - createKey(String, String[]) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- createKey(String, PoolingConnection.StatementType) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates a
PStmtKeyfor the given arguments. - createKey(String, PoolingConnection.StatementType) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- createMap() - Static method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- createNClob() - Method in class org.apache.commons.dbcp2.DelegatingConnection
- createObjectPool(PoolableConnectionFactory, GenericObjectPoolConfig<PoolableConnection>, AbandonedConfig) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Creates an object pool used to provide pooling support for
JDBC connections. - 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
- createStatement(Connection) - Method in class org.apache.commons.dbcp2.PStmtKey
-
Creates a new Statement from the given Connection.
- createStatement(Connection, PStmtKey) - Method in interface org.apache.commons.dbcp2.PStmtKey.StatementBuilder
- createStruct(String, Object[]) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- currentXid - Variable in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
D
- databaseMetaData - Variable in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
My delegate
DatabaseMetaData - dataDefinitionCausesTransactionCommit() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- dataDefinitionIgnoredInTransactions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- dataSource - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The data source we will use to manage connections.
- dataSource - Variable in class org.apache.commons.dbcp2.DataSourceConnectionFactory
- dataSource - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Underlying source of PooledConnections
- DataSourceConnectionFactory - Class in org.apache.commons.dbcp2
-
A
DataSource-based implementation ofConnectionFactory. - DataSourceConnectionFactory(DataSource) - Constructor for class org.apache.commons.dbcp2.DataSourceConnectionFactory
-
Constructs an instance for the given DataSource.
- DataSourceConnectionFactory(DataSource, String, char[]) - Constructor for class org.apache.commons.dbcp2.DataSourceConnectionFactory
-
Constructs an instance for the given DataSource.
- DataSourceConnectionFactory(DataSource, String, String) - Constructor for class org.apache.commons.dbcp2.DataSourceConnectionFactory
-
Constructs an instance for the given DataSource.
- dataSourceJmxObjectName - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- DataSourceMXBean - Interface in org.apache.commons.dbcp2
-
Defines the methods that will be made available via JMX.
- dataSourceName - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
DataSource Name used to find the ConnectionPoolDataSource
- dataSourceName - Variable in class org.apache.commons.dbcp2.datasources.PoolKey
- DataSourceXAConnectionFactory - Class in org.apache.commons.dbcp2.managed
-
An implementation of XAConnectionFactory which uses a real XADataSource to obtain connections and XAResources.
- DataSourceXAConnectionFactory(TransactionManager, XADataSource) - Constructor for class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Creates an DataSourceXAConnectionFactory which uses the specified XADataSource to create database connections.
- DataSourceXAConnectionFactory(TransactionManager, XADataSource, TransactionSynchronizationRegistry) - Constructor for class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Creates an DataSourceXAConnectionFactory which uses the specified XADataSource to create database connections.
- DataSourceXAConnectionFactory(TransactionManager, XADataSource, String, char[]) - Constructor for class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Creates an DataSourceXAConnectionFactory which uses the specified XADataSource to create database connections.
- DataSourceXAConnectionFactory(TransactionManager, XADataSource, String, char[], TransactionSynchronizationRegistry) - Constructor for class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Creates an DataSourceXAConnectionFactory which uses the specified XADataSource to create database connections.
- DataSourceXAConnectionFactory(TransactionManager, XADataSource, String, String) - Constructor for class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Creates an DataSourceXAConnectionFactory which uses the specified XADataSource to create database connections.
- DataSourceXAConnectionFactory.XAConnectionEventListener - Class in org.apache.commons.dbcp2.managed
- defaultAutoCommit - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The default auto-commit state of connections created by this pool.
- defaultAutoCommit - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultAutoCommit - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- defaultBlockWhenExhausted - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultCatalog - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The default "catalog" of connections created by this pool.
- defaultCatalog - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- defaultDurationBetweenEvictionRuns - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultEvictionPolicyClassName - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultLifo - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultMaxIdle - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultMaxTotal - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultMaxWaitDuration - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultMinEvictableIdleDuration - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultMinIdle - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultNumTestsPerEvictionRun - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultQueryTimeoutDuration - Variable in class org.apache.commons.dbcp2.BasicDataSource
- defaultQueryTimeoutDuration - Variable in class org.apache.commons.dbcp2.DelegatingConnection
- defaultQueryTimeoutDuration - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- defaultReadOnly - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The default read-only state of connections created by this pool.
- defaultReadOnly - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultReadOnly - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- defaultSchema - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The default "schema" of connections created by this pool.
- defaultSchema - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- defaultSoftMinEvictableIdleDuration - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultTestOnBorrow - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultTestOnCreate - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultTestOnReturn - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultTestWhileIdle - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultTransactionIsolation - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The default TransactionIsolation state of connections created by this pool.
- defaultTransactionIsolation - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- defaultTransactionIsolation - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- DelegatingCallableStatement - Class in org.apache.commons.dbcp2
-
A base delegating implementation of
CallableStatement. - DelegatingCallableStatement(DelegatingConnection<?>, CallableStatement) - Constructor for class org.apache.commons.dbcp2.DelegatingCallableStatement
-
Creates a wrapper for the Statement which traces this Statement to the Connection which created it and the code which created it.
- delegatingConnection - Variable in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
A DelegatingConnection used to create a PoolablePreparedStatementStub.
- DelegatingConnection<C> - Class in org.apache.commons.dbcp2
-
A base delegating implementation of
Connection. - DelegatingConnection(C) - Constructor for class org.apache.commons.dbcp2.DelegatingConnection
-
Creates a wrapper for the Connection which traces this Connection in the AbandonedObjectPool.
- DelegatingDatabaseMetaData - Class in org.apache.commons.dbcp2
-
A base delegating implementation of
DatabaseMetaData. - DelegatingDatabaseMetaData(DelegatingConnection<?>, DatabaseMetaData) - Constructor for class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
Constructs a new instance for the given delegating connection and database meta data.
- DelegatingPreparedStatement - Class in org.apache.commons.dbcp2
-
A base delegating implementation of
PreparedStatement. - DelegatingPreparedStatement(DelegatingConnection<?>, PreparedStatement) - Constructor for class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
Create a wrapper for the Statement which traces this Statement to the Connection which created it and the code which created it.
- DelegatingResultSet - Class in org.apache.commons.dbcp2
-
A base delegating implementation of
ResultSet. - DelegatingResultSet(Connection, ResultSet) - Constructor for class org.apache.commons.dbcp2.DelegatingResultSet
-
Creates a wrapper for the ResultSet which traces this ResultSet to the Connection which created it (via, for example DatabaseMetadata), and the code which created it.
- DelegatingResultSet(Statement, ResultSet) - Constructor for class org.apache.commons.dbcp2.DelegatingResultSet
-
Creates a wrapper for the ResultSet which traces this ResultSet to the Statement which created it and the code which created it.
- DelegatingStatement - Class in org.apache.commons.dbcp2
-
A base delegating implementation of
Statement. - DelegatingStatement(DelegatingConnection<?>, Statement) - Constructor for class org.apache.commons.dbcp2.DelegatingStatement
-
Create a wrapper for the Statement which traces this Statement to the Connection which created it and the code which created it.
- deleteRow() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- deletesAreDetected(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- description - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Description
- description - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Description
- deserialize(byte[]) - Static method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
-
Deserializes the provided byte array to create an object.
- destroyObject(UserPassKey, PooledObject<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Closes the PooledConnection and stops listening for events from it.
- destroyObject(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
My
KeyedPooledObjectFactorymethod for destroyingPreparedStatements. - destroyObject(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
KeyedPooledObjectFactorymethod for destroying PoolablePreparedStatements and PoolableCallableStatements. - destroyObject(PooledObject<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Closes the PooledConnection and stops listening for events from it.
- destroyObject(PooledObject<PoolableConnection>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- destroyObject(PooledObject<PoolableConnection>, DestroyMode) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- DISCONNECTION_SQL_CODE_PREFIX - Static variable in class org.apache.commons.dbcp2.Utils
-
Any SQL_STATE starting with this value is considered a fatal disconnect
- DISCONNECTION_SQL_CODES - Static variable in class org.apache.commons.dbcp2.Utils
-
Deprecated.
- disconnectionSqlCodes - Variable in class org.apache.commons.dbcp2.BasicDataSource
- disconnectionSqlCodes - Variable in class org.apache.commons.dbcp2.PoolableConnection
-
SQL_STATE codes considered to signal fatal conditions.
- disconnectionSqlCodes - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- doDestroyObject(PooledConnectionAndInfo) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- doesMaxRowSizeIncludeBlobs() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- driver - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The instance of the JDBC Driver to use.
- driver - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Driver class name
- driver - Variable in class org.apache.commons.dbcp2.DriverConnectionFactory
- DriverAdapterCPDS - Class in org.apache.commons.dbcp2.cpdsadapter
-
An adapter for JDBC drivers that do not include an implementation of
ConnectionPoolDataSource, but still include aDriverManagerimplementation. - DriverAdapterCPDS() - Constructor for class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Default no-argument constructor for Serialization
- driverClassLoader - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The class loader instance to use to load the JDBC driver.
- driverClassName - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The fully qualified Java class name of the JDBC driver to be used.
- DriverConnectionFactory - Class in org.apache.commons.dbcp2
-
A
Driver-based implementation ofConnectionFactory. - DriverConnectionFactory(Driver, String, Properties) - Constructor for class org.apache.commons.dbcp2.DriverConnectionFactory
-
Constructs a connection factory for a given Driver.
- DriverFactory - Class in org.apache.commons.dbcp2
- DriverFactory() - Constructor for class org.apache.commons.dbcp2.DriverFactory
- DriverManagerConnectionFactory - Class in org.apache.commons.dbcp2
-
A
DriverManager-based implementation ofConnectionFactory. - DriverManagerConnectionFactory(String) - Constructor for class org.apache.commons.dbcp2.DriverManagerConnectionFactory
-
Constructor for DriverManagerConnectionFactory.
- DriverManagerConnectionFactory(String, String, char[]) - Constructor for class org.apache.commons.dbcp2.DriverManagerConnectionFactory
-
Constructor for DriverManagerConnectionFactory.
- DriverManagerConnectionFactory(String, String, String) - Constructor for class org.apache.commons.dbcp2.DriverManagerConnectionFactory
-
Constructor for DriverManagerConnectionFactory.
- DriverManagerConnectionFactory(String, Properties) - Constructor for class org.apache.commons.dbcp2.DriverManagerConnectionFactory
-
Constructor for DriverManagerConnectionFactory.
- durationBetweenEvictionRuns - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The number of milliseconds to sleep between runs of the idle object evictor thread.
- durationBetweenEvictionRuns - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
E
- EMPTY_DRIVER_PROPERTY_INFO_ARRAY - Static variable in class org.apache.commons.dbcp2.PoolingDriver
- EMPTY_FAILED_PROPERTIES - Static variable in class org.apache.commons.dbcp2.DelegatingConnection
- EMPTY_RESULT_SET_ARRAY - Static variable in class org.apache.commons.dbcp2.Utils
- EMPTY_STRING_ARRAY - Static variable in class org.apache.commons.dbcp2.Utils
- EMPTY_XID_ARRAY - Static variable in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
- end(Xid, int) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
This method does nothing.
- equals(Object) - Method in class org.apache.commons.dbcp2.datasources.CharArray
- equals(Object) - Method in class org.apache.commons.dbcp2.datasources.PoolKey
- equals(Object) - Method in class org.apache.commons.dbcp2.datasources.UserPassKey
-
Only takes the user name into account.
- equals(Object) - Method in class org.apache.commons.dbcp2.PStmtKey
- eventListeners - Variable in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
ConnectionEventListeners.
- evict() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Manually evicts idle connections
- evictionPolicyClassName - Variable in class org.apache.commons.dbcp2.BasicDataSource
- exceptionList - Variable in exception class org.apache.commons.dbcp2.ListException
- execute() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- execute(String) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- execute(String, int) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- execute(String, int[]) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- execute(String, String[]) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeBatch() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeLargeBatch() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeLargeUpdate() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- executeLargeUpdate(String) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeLargeUpdate(String, int) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeLargeUpdate(String, int[]) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeLargeUpdate(String, String[]) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeQuery() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- executeQuery(String) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeUpdate() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- executeUpdate(String) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeUpdate(String, int) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeUpdate(String, int[]) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- executeUpdate(String, String[]) - Method in class org.apache.commons.dbcp2.DelegatingStatement
F
- factory - Variable in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
- fastFailValidation - Variable in class org.apache.commons.dbcp2.BasicDataSource
- fastFailValidation - Variable in class org.apache.commons.dbcp2.PoolableConnection
-
Whether or not to fast fail validation after fatal connection errors
- fastFailValidation - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- fatalSqlExceptionThrown - Variable in class org.apache.commons.dbcp2.PoolableConnection
-
Indicate that unrecoverable SQLException was thrown when using this connection.
- finalize() - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Closes the physical connection and checks that the logical connection was closed as well.
- finalize() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- findColumn(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- first() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- forget(Xid) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Clears the currently associated transaction if it is the specified xid.
G
- generatedKeyAlwaysReturned() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- generatedKeyAlwaysReturned(DatabaseMetaData) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
DatabaseMetaData.generatedKeyAlwaysReturned()without throwing aAbstractMethodError. - get() - Method in class org.apache.commons.dbcp2.datasources.CharArray
-
Gets the value of char array.
- GET_CONNECTION_CALLED - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- GET_CONNECTION_CALLED - Static variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- getAbandonedLogWriter() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the print writer 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.DataSourceMXBean
- 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(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getArray(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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
- getAutoCommitOnReturn() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets 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 isfalsewhen the connection is returned. - getAutoGeneratedKeys() - Method in class org.apache.commons.dbcp2.PStmtKey
-
Gets a flag indicating whether auto-generated keys should be returned; one of
Statement.RETURN_GENERATED_KEYSorStatement.NO_GENERATED_KEYS. - getBestRowIdentifier(String, String, String, int, boolean) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getBigDecimal(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getBigDecimal(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getBigDecimal(int, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getBigDecimal(int, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
Deprecated.
- getBigDecimal(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getBigDecimal(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getBigDecimal(String, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
Deprecated.
- 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(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getBlob(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getBlob(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getBoolean(int) - 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.DelegatingCallableStatement
- getBoolean(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getBooleanContentString(RefAddr) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- getByte(int) - 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.DelegatingCallableStatement
- getByte(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getBytes(int) - 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.DelegatingCallableStatement
- getBytes(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getCacheState() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the state caching flag.
- getCacheState() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getCacheState() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Returns the state caching flag.
- getCacheState() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Gets the cache state.
- 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
-
Gets the catalog.
- getCatalogOrNull() - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- getCatalogOrNull() - Method in class org.apache.commons.dbcp2.PoolingConnection
- 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
- getCauseList() - Method in exception class org.apache.commons.dbcp2.SQLExceptionList
-
Gets the cause list.
- getCharacterStream(int) - 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.DelegatingCallableStatement
- 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(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getClob(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getClob(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getColumnIndexes() - Method in class org.apache.commons.dbcp2.PStmtKey
-
Gets an array of column indexes indicating the columns that should be returned from the inserted row or rows.
- getColumnNames() - Method in class org.apache.commons.dbcp2.PStmtKey
-
Gets an array of column names indicating the columns that should be returned from the inserted row or rows.
- 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
-
Creates (if necessary) and return a connection to the database.
- getConnection() - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Returns a JDBC connection.
- getConnection() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Attempts to establish a database connection.
- 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
-
Returns a
Connectionfrom my pool, according to the contract specified byObjectPool.borrowObject(). - getConnection(String, String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
BasicDataSource does NOT support this method.
- getConnection(String, String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Attempts to retrieve a database connection using
InstanceKeyDataSource.getPooledConnectionAndInfo(String, String)with the provided user name and password. - getConnection(String, String) - Method in class org.apache.commons.dbcp2.PoolingDataSource
- getConnectionCalled - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Whether or not getConnection has been called
- getConnectionCalled - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Guards property setters - once true, setters throw IllegalStateException
- getConnectionFactory() - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory
- getConnectionFactory() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Gets the connection factory.
- getConnectionFactoryClassName() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the ConnectionFactoryClassName that has been configured for use by this pool.
- getConnectionIndex() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getConnectionInitSqls() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the list of SQL statements executed when a physical connection is first created.
- getConnectionInitSqls() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getConnectionInitSqlsAsArray() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Provides the same data as
BasicDataSource.getConnectionInitSqls()but in an array so it is accessible via JMX. - getConnectionInitSqlsAsArray() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getConnectionInternal() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- getConnectionKey(Connection) - Method in class org.apache.commons.dbcp2.managed.TransactionRegistry
- 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
-
Gets the underlying connection pool.
- getConnectionPool(String) - Method in class org.apache.commons.dbcp2.PoolingDriver
-
Gets the connection pool for the given name.
- getConnectionPoolDataSource() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the value of connectionPoolDataSource.
- getConnectionProperties() - Method in class org.apache.commons.dbcp2.BasicDataSource
- getConnectionProperties() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the connection properties passed to the JDBC driver.
- getConnectionString() - Method in class org.apache.commons.dbcp2.DriverConnectionFactory
- getConnectionUri() - Method in class org.apache.commons.dbcp2.DriverManagerConnectionFactory
- getCPDSConnectionFactoryPool(PooledConnectionManager) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the underlying pool but does NOT allocate it.
- 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
- getDataSource() - Method in class org.apache.commons.dbcp2.DataSourceConnectionFactory
- getDataSourceJmxName() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getDataSourceJmxObjectName() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getDataSourceName() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the name of the ConnectionPoolDataSource which backs this pool.
- getDate(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getDate(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getDate(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getDate(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getDate(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getDate(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getDate(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getDate(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getDefaultAutoCommit() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the default auto-commit property.
- getDefaultAutoCommit() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getDefaultAutoCommit() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getDefaultBlockWhenExhausted() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
BaseObjectPoolConfig.getBlockWhenExhausted()for each per user pool. - getDefaultCatalog() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the default catalog.
- getDefaultCatalog() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getDefaultCatalog() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getDefaultDurationBetweenEvictionRuns() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
BaseGenericObjectPool.getDurationBetweenEvictionRuns()for each per user pool. - getDefaultEvictionPolicyClassName() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
BaseObjectPoolConfig.getEvictionPolicyClassName()for each per user pool. - getDefaultLifo() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
BaseObjectPoolConfig.getLifo()for each per user pool. - getDefaultMaxIdle() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
GenericKeyedObjectPoolConfig.getMaxIdlePerKey()for each per user pool. - getDefaultMaxTotal() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
GenericKeyedObjectPoolConfig.getMaxTotalPerKey()for each per user pool. - getDefaultMaxWait() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
BaseObjectPoolConfig.getMaxWaitDuration()for each per user pool. - getDefaultMaxWaitMillis() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- getDefaultMinEvictableIdleDuration() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
BaseObjectPoolConfig.getMinEvictableIdleDuration()for each per user pool. - getDefaultMinEvictableIdleTimeMillis() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- getDefaultMinIdle() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
GenericKeyedObjectPoolConfig.getMinIdlePerKey()for each per user pool. - getDefaultNumTestsPerEvictionRun() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
BaseObjectPoolConfig.getNumTestsPerEvictionRun()for each per user pool. - getDefaultQueryTimeout() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- getDefaultQueryTimeout() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Deprecated.
- getDefaultQueryTimeout() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Deprecated.
- getDefaultQueryTimeoutDuration() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the default query timeout that will be used for
Statements created from this connection. - getDefaultQueryTimeoutDuration() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Gets the default query timeout that will be used for
Statements created from this connection. - getDefaultQueryTimeoutDuration() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Gets the default query timeout Duration.
- getDefaultQueryTimeoutSeconds() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Deprecated.
- getDefaultReadOnly() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the default readOnly property.
- getDefaultReadOnly() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getDefaultReadOnly() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getDefaultSchema() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the default schema.
- getDefaultSchema() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getDefaultSchema() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getDefaultSoftMinEvictableIdleDuration() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
GenericObjectPool#getSoftMinEvictableIdleTimeMillis()for each per user pool. - getDefaultSoftMinEvictableIdleTimeMillis() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- getDefaultTestOnBorrow() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
GenericObjectPool#getTestOnBorrow()for each per user pool. - getDefaultTestOnCreate() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
GenericObjectPool#getTestOnCreate()for each per user pool. - getDefaultTestOnReturn() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
GenericObjectPool#getTestOnReturn()for each per user pool. - getDefaultTestWhileIdle() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the default value for
GenericObjectPool#getTestWhileIdle()for each per user pool. - getDefaultTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- getDefaultTransactionIsolation() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the default transaction isolation state of returned connections.
- getDefaultTransactionIsolation() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getDefaultTransactionIsolation() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the value of defaultTransactionIsolation, which defines the state of connections handed out from this pool.
- getDefaultTransactionIsolation() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getDefaultTransactionIsolation() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getDelegate() - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
Gets the delegated connection, if allowed.
- getDelegate() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Returns my underlying
Connection. - getDelegate() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
Gets the underlying database meta data.
- getDelegate() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
Gets my delegate.
- getDelegate() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
Returns my underlying
Statement. - getDelegate() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
- getDelegate() - Method in class org.apache.commons.dbcp2.PoolingDataSource.PoolGuardConnectionWrapper
- getDelegate() - Method in class org.apache.commons.dbcp2.PoolingDriver.PoolGuardConnectionWrapper
- getDelegateCallableStatement() - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getDelegateInternal() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Gets the delegate connection.
- getDelegatePreparedStatement() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- getDescription() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the value of description.
- getDescription() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the description.
- getDisconnectionSqlCodes() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the set of SQL_STATE codes considered to signal fatal conditions.
- getDisconnectionSqlCodes() - Method in class org.apache.commons.dbcp2.PoolableConnection
- getDisconnectionSqlCodes() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
SQL_STATE codes considered to signal fatal conditions.
- getDisconnectionSqlCodes() - Static method in class org.apache.commons.dbcp2.Utils
-
Gets a copy of SQL codes of fatal connection errors.
- getDisconnectionSqlCodesAsArray() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Provides the same data as
BasicDataSource.getDisconnectionSqlCodes()but in an array so it is accessible via JMX. - getDisconnectionSqlCodesAsArray() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getDouble(int) - 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.DelegatingCallableStatement
- getDouble(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getDriver() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the JDBC Driver that has been configured for use by this pool.
- getDriver() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the driver class name.
- getDriver() - Method in class org.apache.commons.dbcp2.DriverConnectionFactory
- getDriverClassLoader() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the class loader specified for loading the JDBC driver.
- getDriverClassName() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the JDBC driver class name.
- getDriverClassName() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- 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
- getDurationBetweenEvictionRuns() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the value of the {code durationBetweenEvictionRuns} property.
- getDurationBetweenEvictionRuns() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the duration to sleep between runs of the idle object evictor thread.
- getEnableAutoCommitOnReturn() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- getEvictionPolicyClassName() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the EvictionPolicy implementation in use with this connection pool.
- getExceptionList() - Method in exception class org.apache.commons.dbcp2.ListException
-
Gets the list of exceptions.
- 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.DataSourceMXBean
- 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(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getFloat(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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
-
Gets the initial size of the connection pool.
- getInitialSize() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getInnermostDelegate() - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
Gets the innermost connection, if allowed.
- getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
If my underlying
Connectionis not aDelegatingConnection, returns it, otherwise recursively invokes this method on my delegate. - getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
If my underlying
ResultSetis not aDelegatingResultSet, returns it, otherwise recursively invokes this method on my delegate. - getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
If my underlying
ResultSetis not aDelegatingResultSet, returns it, otherwise recursively invokes this method on my delegate. - getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
If my underlying
Statementis not aDelegatingStatement, returns it, otherwise recursively invokes this method on my delegate. - getInnermostDelegate() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
- getInnermostDelegate() - Method in class org.apache.commons.dbcp2.PoolingDataSource.PoolGuardConnectionWrapper
- getInnermostDelegate() - Method in class org.apache.commons.dbcp2.PoolingDriver.PoolGuardConnectionWrapper
- 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
-
Gets the instance key.
- getInt(int) - 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.DelegatingCallableStatement
- getInt(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getIntegerStringContent(RefAddr) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- 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
-
Gets the JMX name that has been requested for this DataSource.
- getJndiEnvironment(String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the value of jndiEnvironment which is used when instantiating a JNDI InitialContext.
- getKey() - Method in class org.apache.commons.dbcp2.PoolablePreparedStatement
-
Package-protected for tests.
- getLargeMaxRows() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- getLargeUpdateCount() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- getLastUsed() - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Deprecated.
- getLastUsedInstant() - Method in class org.apache.commons.dbcp2.AbandonedTrace
- getLifo() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the LIFO property.
- getLifo() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- 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.DataSourceMXBean
- getLogExpiredConnections() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
When
BasicDataSource.getMaxConnDuration()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.DataSourceMXBean
- 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
-
Deprecated.
- getLoginTimeout() - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
Throws
UnsupportedOperationException. - getLoginTimeoutDuration() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the value of loginTimeout.
- getLogWriter() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the log writer being used by this data source.
- getLogWriter() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the log writer for this data source.
- getLogWriter() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets 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(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getLong(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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
- getMaxConnDuration() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the maximum permitted duration of a connection.
- getMaxConnDuration() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the maximum permitted lifetime of a connection.
- getMaxConnDuration() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Gets the Maximum connection duration.
- getMaxConnections() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getMaxConnLifetime() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- getMaxConnLifetimeMillis() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- getMaxConnLifetimeMillis() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getMaxConnLifetimeMillis() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- getMaxConnLifetimeMillis() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Gets the Maximum connection lifetime 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
-
Gets the maximum number of connections that can remain idle in the pool.
- getMaxIdle() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the maximum number of statements that can remain idle in the pool, without extra ones being released, or negative for no limit.
- getMaxIdle() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getMaxIndexLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getMaxLogicalLobSize() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getMaxOpenPreparedStatements() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the value of the
maxOpenPreparedStatementsproperty. - getMaxOpenPreparedStatements() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getMaxOpenPreparedStatements() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getMaxPreparedStatements() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets 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
-
Gets the maximum number of active connections that can be allocated at the same time.
- getMaxTotal() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getMaxTotal() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Gets
BaseGenericObjectPool.getMaxTotal()for this pool. - getMaxUserNameLength() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getMaxWaitDuration() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the maximum Duration that the pool will wait for a connection to be returned before throwing an exception.
- getMaxWaitMillis() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- getMaxWaitMillis() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getMessage(String) - Static method in class org.apache.commons.dbcp2.Utils
-
Gets the correct i18n message for the given key.
- getMessage(String, Object...) - Static method in class org.apache.commons.dbcp2.Utils
-
Gets 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
- getMinEvictableIdleDuration() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the {code minEvictableIdleDuration} property.
- getMinEvictableIdleDuration() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets 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).
- getMinEvictableIdleTimeMillis() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- getMinEvictableIdleTimeMillis() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Deprecated.
- getMinEvictableIdleTimeMillis() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getMinIdle() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the minimum number of idle connections in the pool.
- getMinIdle() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- 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(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getNCharacterStream(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getNCharacterStream(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getNClob(int) - 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.DelegatingCallableStatement
- getNClob(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getNetworkTimeout() - Method in class org.apache.commons.dbcp2.DelegatingConnection
- getNetworkTimeout(Connection) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
Connection.getNetworkTimeout()without throwing anAbstractMethodError. - getNewInstance(Reference) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
-
Creates an instance of the subclass and sets any properties contained in the Reference.
- 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(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getNString(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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.DataSourceMXBean
- getNumActive() - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the number of active connections in the default pool.
- getNumActive() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Gets the number of active connections in the pool.
- getNumActive(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the number of active connections in the pool for a given user.
- 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.DataSourceMXBean
- getNumIdle() - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the number of idle connections in the default pool.
- getNumIdle() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Gets the number of idle connections in the pool.
- getNumIdle(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the number of idle connections in the pool for a given user.
- getNumTestsPerEvictionRun() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the value of the {code numTestsPerEvictionRun} property.
- getNumTestsPerEvictionRun() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the number of statements to examine during each run of the idle object evictor thread (if any.)
- getNumTestsPerEvictionRun() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getObject(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getObject(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getObject(int, Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getObject(int, Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getObject(int, Map<String, Class<?>>) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getObject(int, Map<String, Class<?>>) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getObject(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getObject(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getObject(String, Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getObject(String, Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getObject(String, Map<String, Class<?>>) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getObject(String, Map<String, Class<?>>) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getObject(ResultSet, int, Class<T>) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
ResultSet.getObject(int, Class)without throwing anAbstractMethodError. - getObject(ResultSet, String, Class<T>) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
ResultSet.getObject(String, Class)without throwing anAbstractMethodError. - getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class org.apache.commons.dbcp2.BasicDataSourceFactory
-
Creates and return a new
BasicDataSourceinstance. - getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Implements
ObjectFactoryto create an instance of this class - getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
-
Implements ObjectFactory to create an instance of SharedPoolDataSource or PerUserPoolDataSource
- getOptional(Properties, String) - Static method in class org.apache.commons.dbcp2.BasicDataSourceFactory
- 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
- getParentLogger(CommonDataSource) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
CommonDataSource.getParentLogger()without throwing anAbstractMethodError. - getPassword() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.Exposing passwords via JMX is an Information Exposure issue.
- getPassword() - Method in interface org.apache.commons.dbcp2.BasicDataSourceMXBean
-
Deprecated.Exposing passwords via JMX is an Information Exposure issue.
- getPassword() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the value of password for the default user.
- getPassword() - Method in class org.apache.commons.dbcp2.datasources.PooledConnectionAndInfo
-
Gets the value of password.
- getPassword() - Method in class org.apache.commons.dbcp2.datasources.UserPassKey
-
Gets the value of password.
- getPasswordCharArray() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the value of password for the default user.
- getPasswordCharArray() - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
(Testing API) Gets the value of password for the default user.
- getPasswordCharArray() - Method in class org.apache.commons.dbcp2.datasources.UserPassKey
-
Gets the value of password.
- getPerUserBlockWhenExhausted(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getBlockWhenExhausted()for the specified user's pool or the default if no user specific value is defined. - getPerUserDefaultAutoCommit(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific default value for
Connection.setAutoCommit(boolean)for the specified user's pool. - getPerUserDefaultReadOnly(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific default value for
Connection.setReadOnly(boolean)for the specified user's pool. - getPerUserDefaultTransactionIsolation(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific default value for
Connection.setTransactionIsolation(int)for the specified user's pool. - getPerUserDurationBetweenEvictionRuns(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getDurationBetweenEvictionRuns()for the specified user's pool or the default if no user specific value is defined. - getPerUserEvictionPolicyClassName(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getEvictionPolicyClassName()for the specified user's pool or the default if no user specific value is defined. - getPerUserLifo(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getLifo()for the specified user's pool or the default if no user specific value is defined. - getPerUserMaxIdle(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
GenericObjectPool.getMaxIdle()for the specified user's pool or the default if no user specific value is defined. - getPerUserMaxTotal(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getMaxTotal()for the specified user's pool or the default if no user specific value is defined. - getPerUserMaxWaitDuration(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getMaxWaitDuration()for the specified user's pool or the default if no user specific value is defined. - getPerUserMaxWaitMillis(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Deprecated.
- getPerUserMinEvictableIdleDuration(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getMinEvictableIdleDuration()for the specified user's pool or the default if no user specific value is defined. - getPerUserMinEvictableIdleTimeMillis(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Deprecated.
- getPerUserMinIdle(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
GenericObjectPool.getMinIdle()for the specified user's pool or the default if no user specific value is defined. - getPerUserNumTestsPerEvictionRun(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getNumTestsPerEvictionRun()for the specified user's pool or the default if no user specific value is defined. - getPerUserSoftMinEvictableIdleDuration(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getSoftMinEvictableIdleDuration()for the specified user's pool or the default if no user specific value is defined. - getPerUserSoftMinEvictableIdleTimeMillis(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Deprecated.
- getPerUserTestOnBorrow(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getTestOnBorrow()for the specified user's pool or the default if no user specific value is defined. - getPerUserTestOnCreate(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getTestOnCreate()for the specified user's pool or the default if no user specific value is defined. - getPerUserTestOnReturn(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getTestOnReturn()for the specified user's pool or the default if no user specific value is defined. - getPerUserTestWhileIdle(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Gets the user specific value for
BaseGenericObjectPool.getTestWhileIdle()for the specified user's pool or the default if no user specific value is defined. - getPerUserTimeBetweenEvictionRunsMillis(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Deprecated.
- getPlatformMBeanServer() - Static method in class org.apache.commons.dbcp2.ObjectNameWrapper
- getPool() - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Returns the object pool used to pool connections created by this factory.
- getPool() - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Returns the keyed object pool used to pool connections created by this factory.
- getPool() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Returns the
ObjectPoolin whichConnections are pooled. - getPool() - Method in class org.apache.commons.dbcp2.PoolingDataSource
- getPool(PoolKey) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Returns the object pool associated with the given PoolKey.
- getPooledConnection() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Attempts to establish a database connection using the default user and password.
- getPooledConnection() - Method in class org.apache.commons.dbcp2.datasources.PooledConnectionAndInfo
-
Gets the pooled connection.
- getPooledConnection(String, String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Attempts to establish a database connection.
- getPooledConnectionAndInfo(String, String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
This method is protected but can only be implemented in this package because PooledConnectionAndInfo is a package private type.
- getPooledConnectionAndInfo(String, String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- getPooledConnectionAndInfo(String, String) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
- getPooledConnectionImpl() - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
Package-private for tests.
- getPooledConnectionImpl(String, String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- getPoolKey(String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Creates a pool key from the provided parameters.
- getPoolNames() - Method in class org.apache.commons.dbcp2.PoolingDriver
-
Gets the pool names.
- 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
- getProperties() - Method in class org.apache.commons.dbcp2.DriverConnectionFactory
- getProperties() - Method in class org.apache.commons.dbcp2.DriverManagerConnectionFactory
- getProperties(String) - Static method in class org.apache.commons.dbcp2.BasicDataSourceFactory
-
Parse properties from the string.
- getPropertyInfo(String, Properties) - Method in class org.apache.commons.dbcp2.PoolingDriver
- getPseudoColumns(String, String, String, String) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getPseudoColumns(DatabaseMetaData, String, String, String, String) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
DatabaseMetaData.getPseudoColumns(String, String, String, String)without throwing aAbstractMethodError. - getQueryTimeout() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- getRawConnection() - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- getRef(int) - 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.DelegatingCallableStatement
- getRef(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getReference() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Implements
Referenceable. - getReference() - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Returns a
PerUserPoolDataSourceReference. - getReference() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Creates a new
Referenceto aSharedPoolDataSource. - getRegisteredJmxName() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the registered JMX ObjectName.
- 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.DataSourceMXBean
- 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.DataSourceMXBean
- getRemoveAbandonedTimeout() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- getRemoveAbandonedTimeout() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getRemoveAbandonedTimeoutDuration() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the timeout before an abandoned connection can be removed.
- 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
-
Gets the result set concurrency type; one of
ResultSet.CONCUR_READ_ONLYorResultSet.CONCUR_UPDATABLE. - getResultSetHoldability() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getResultSetHoldability() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- getResultSetHoldability() - Method in class org.apache.commons.dbcp2.PStmtKey
-
Gets the result set holdability, one of the following
ResultSetconstants:ResultSet.HOLD_CURSORS_OVER_COMMITorResultSet.CLOSE_CURSORS_AT_COMMIT. - getResultSetType() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- getResultSetType() - Method in class org.apache.commons.dbcp2.PStmtKey
-
Gets the result set type, one of
ResultSet.TYPE_FORWARD_ONLY,ResultSet.TYPE_SCROLL_INSENSITIVE, orResultSet.TYPE_SCROLL_SENSITIVE. - getRollbackOnReturn() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the current value of the flag that controls whether 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(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getRowId(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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
- getSchema() - Method in class org.apache.commons.dbcp2.PStmtKey
-
Gets the schema.
- getSchema(Connection) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
Connection.getSchema()without throwing anAbstractMethodError. - getSchemaOrNull() - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- getSchemaOrNull() - Method in class org.apache.commons.dbcp2.PoolingConnection
- 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(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getShort(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getShort(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getSoftMinEvictableIdleDuration() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets 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 class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- getSoftMinEvictableIdleTimeMillis() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getSql() - Method in class org.apache.commons.dbcp2.PStmtKey
-
Gets the SQL statement.
- 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(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getSQLXML(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getSQLXML(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getStatement() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getStatementPool() - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Gets the prepared statement pool.
- getStmtType() - Method in class org.apache.commons.dbcp2.PStmtKey
-
Gets the SQL statement type.
- getString(int) - 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.DelegatingCallableStatement
- getString(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getStringContent(RefAddr) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- 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
-
Gets the {code testOnBorrow} property.
- getTestOnBorrow() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getTestOnCreate() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the {code testOnCreate} property.
- getTestOnCreate() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getTestOnReturn() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the value of the {code testOnReturn} property.
- getTestWhileIdle() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the value of the {code testWhileIdle} property.
- getTestWhileIdle() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getTime(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getTime(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getTime(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getTime(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getTime(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getTime(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getTime(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getTime(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- getTimeBetweenEvictionRunsMillis() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Deprecated.
- getTimeBetweenEvictionRunsMillis() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getTimeDateFunctions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getTimestamp(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getTimestamp(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getTimestamp(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getTimestamp(int, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getTimestamp(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getTimestamp(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getTimestamp(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getTimestamp(String, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getToString() - Method in class org.apache.commons.dbcp2.PoolableConnection
-
Expose the
DelegatingConnection.toString()method via a bean getter, so it can be read as a property via JMX. - getToString() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
- getTrace() - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Gets a list of objects being traced by this object.
- getTransaction() - Method in class org.apache.commons.dbcp2.managed.TransactionContext
- getTransactionContext() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
- 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 class org.apache.commons.dbcp2.managed.ManagedConnection
- getTransactionRegistry() - Method in class org.apache.commons.dbcp2.managed.ManagedDataSource
-
Gets the transaction registry.
- getTransactionRegistry() - Method in class org.apache.commons.dbcp2.managed.PoolableManagedConnection
- getTransactionRegistry() - Method in class org.apache.commons.dbcp2.managed.PoolableManagedConnectionFactory
- getTransactionRegistry() - Method in interface org.apache.commons.dbcp2.managed.XAConnectionFactory
-
Gets the TransactionRegistry for this connection factory which contains the XAResource for every connection created by this factory.
- getTransactionSynchronizationRegistry() - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Gets the optional TransactionSynchronizationRegistry.
- 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
-
Gets the JDBC connection {code connectionString} property.
- getUrl() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the value of connection string used to locate the database for this data source.
- getUrl() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getURL() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getURL(int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getURL(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getURL(String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- getURL(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- getUser() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the value of default user (login or user name).
- getUsername() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- getUsername() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
-
Deprecated.
- getUsername() - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Deprecated.
- getUserName() - Method in class org.apache.commons.dbcp2.DataSourceConnectionFactory
- getUserName() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getUserName() - Method in class org.apache.commons.dbcp2.datasources.PooledConnectionAndInfo
-
Gets the value of userName.
- getUserName() - Method in class org.apache.commons.dbcp2.datasources.UserPassKey
-
Gets the value of user name.
- getUserName() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- getUserName() - Method in class org.apache.commons.dbcp2.DriverManagerConnectionFactory
- getUserName() - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Gets the user name used to authenticate new connections.
- getUserPassKey() - Method in class org.apache.commons.dbcp2.datasources.PooledConnectionAndInfo
- getUserPassword() - Method in class org.apache.commons.dbcp2.DataSourceConnectionFactory
- getUserPassword() - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Gets the user password.
- getValidationQuery() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the validation query used to validate connections before returning them.
- getValidationQuery() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getValidationQuery() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Gets the SQL query that will be used to validate connections from this pool before returning them to the caller.
- getValidationQuery() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- getValidationQueryTimeout() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- getValidationQueryTimeout() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- getValidationQueryTimeout() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- getValidationQueryTimeoutDuration() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the validation query timeout.
- getValidationQueryTimeoutDuration() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Returns the timeout Duration before the validation query fails.
- getValidationQueryTimeoutDuration() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Gets the query timeout in seconds.
- getValidationQueryTimeoutSeconds() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Deprecated.
- 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.DataSourceXAConnectionFactory
-
Gets the XA data source.
- 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.
H
- handleException(SQLException) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Handles the given exception by throwing it.
- handleException(SQLException) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- handleException(SQLException) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- handleException(SQLException) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- handleException(SQLException) - Method in class org.apache.commons.dbcp2.PoolableConnection
- handleExceptionNoThrow(T) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Handles the given
SQLException. - hashCode() - Method in class org.apache.commons.dbcp2.datasources.CharArray
- hashCode() - Method in class org.apache.commons.dbcp2.datasources.PoolKey
- hashCode() - Method in class org.apache.commons.dbcp2.datasources.UserPassKey
-
Only takes the user name into account.
- hashCode() - Method in class org.apache.commons.dbcp2.PStmtKey
I
- init(AbandonedTrace) - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Initializes abandoned tracing for this object.
- init(T) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Initializes the given statement with this connection's settings.
- initializeConnection(Connection) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- initialSize - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The initial number of connections that are created when the pool is started.
- 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
- INSTANCE_MAP - Static variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
- instanceKey - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Instance key
- InstanceKeyDataSource - Class in org.apache.commons.dbcp2.datasources
-
The base class for
SharedPoolDataSourceandPerUserPoolDataSource. - InstanceKeyDataSource() - Constructor for class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Default no-arg constructor for Serialization.
- InstanceKeyDataSourceFactory - Class in org.apache.commons.dbcp2.datasources
-
A JNDI ObjectFactory which creates
SharedPoolDataSources orPerUserPoolDataSources - InstanceKeyDataSourceFactory() - Constructor for class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
- invalidate(PooledConnection) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Invalidates the PooledConnection in the pool.
- invalidate(PooledConnection) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Invalidates the PooledConnection in the pool.
- invalidate(PooledConnection) - Method in interface org.apache.commons.dbcp2.datasources.PooledConnectionManager
-
Closes the PooledConnection and remove it from the connection pool to which it belongs, adjusting pool counters.
- 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
-
Deprecated.No replacement.
- isAccessToUnderlyingConnectionAllowed() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Gets the value of the accessToUnderlyingConnectionAllowed property.
- isAccessToUnderlyingConnectionAllowed() - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
If false, getDelegate() and getInnermostDelegate() will return null.
- 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.cpdsadapter.PooledConnectionImpl
-
Returns the value of the accessToUnderlyingConnectionAllowed property.
- isAccessToUnderlyingConnectionAllowed() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- 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
- isAutoCommitOnReturn() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- isBeforeFirst() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- isCatalogAtStart() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- isClearStatementPoolOnReturn() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns true if the statement pool is cleared when the connection is returned to its pool.
- isClearStatementPoolOnReturn() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- 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 data source.
- isClosed() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- 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
- isClosed() - Method in class org.apache.commons.dbcp2.PoolingDataSource.PoolGuardConnectionWrapper
- 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
- isCloseOnCompletion(Statement) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
Statement.isCloseOnCompletion()without throwing anAbstractMethodError. - isCorrectClass(String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
-
Tests if className is the value returned from getClass().getName().toString().
- 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
-
Gets 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
-
Gets the value of defaultReadOnly, which defines the state of connections handed out from this pool.
- isDisconnectionSqlException(SQLException) - Method in class org.apache.commons.dbcp2.PoolableConnection
-
Checks the SQLState of the input exception.
- isEmpty(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Delegates in a null-safe manner to
String.isEmpty(). - isEmpty(Collection<?>) - Static method in class org.apache.commons.dbcp2.Utils
- isEnableAutoCommitOnReturn() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Deprecated.
- isFastFailValidation() - Method in class org.apache.commons.dbcp2.PoolableConnection
- 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.
- isFatalException(SQLException) - Method in class org.apache.commons.dbcp2.PoolableConnection
-
Checks the SQLState of the input exception and any nested SQLExceptions it wraps.
- isFirst() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- isLast() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- isNotEmpty(RefAddr) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- 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 class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Whether to toggle the pooling of
PreparedStatements - isPoolPreparedStatements() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- 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.
- isSecurityEnabled() - Static method in class org.apache.commons.dbcp2.Utils
- isSharedConnection - Variable in class org.apache.commons.dbcp2.managed.ManagedConnection
- isTransactionComplete() - Method in class org.apache.commons.dbcp2.managed.TransactionContext
-
Gets the transaction complete flag to true.
- isValid(int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Deprecated.
- isValid(Duration) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Tests if the connection has not been closed and is still valid.
- 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
J
- Jdbc41Bridge - Class in org.apache.commons.dbcp2
-
Defines bridge methods to JDBC 4.1 (Java 7 or above) methods to allow call sites to operate safely (without
AbstractMethodError) when using a JDBC driver written for JDBC 4.0 (Java 6 or above). - Jdbc41Bridge() - Constructor for class org.apache.commons.dbcp2.Jdbc41Bridge
- jdbcCompliant() - Method in class org.apache.commons.dbcp2.PoolingDriver
- JMX_CONNECTION_BASE_EXT - Static variable in class org.apache.commons.dbcp2.Constants
- JMX_CONNECTION_POOL_BASE_EXT - Static variable in class org.apache.commons.dbcp2.Constants
- JMX_CONNECTION_POOL_PREFIX - Static variable in class org.apache.commons.dbcp2.Constants
- JMX_STATEMENT_POOL_BASE_EXT - Static variable in class org.apache.commons.dbcp2.Constants
- JMX_STATEMENT_POOL_PREFIX - Static variable in class org.apache.commons.dbcp2.Constants
- jmxName - Variable in class org.apache.commons.dbcp2.BasicDataSource
- jmxObjectName - Variable in class org.apache.commons.dbcp2.PoolableConnection
- jmxRegister() - Method in class org.apache.commons.dbcp2.BasicDataSource
- JNDI - Search tag in package org.apache.commons.dbcp2.datasources
- Section
- jndiEnvironment - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Environment that may be used to set up a JNDI initial context.
K
- key - Variable in class org.apache.commons.dbcp2.PoolableCallableStatement
-
Key for this statement in the containing
KeyedObjectPool. - key - Variable in class org.apache.commons.dbcp2.PoolablePreparedStatement
-
My "key" as used by
KeyedObjectPool. - KEY_ACCESS_TO_UNDERLYING_CONNECTION_ALLOWED - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_DESCRIPTION - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_DRIVER - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_DURATION_BETWEEN_EVICTION_RUNS - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_LOGIN_TIMEOUT - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_MAX_IDLE - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_MAX_PREPARED_STATEMENTS - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_MIN_EVICTABLE_IDLE_DURATION - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_NUM_TESTS_PER_EVICTION_RUN - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_PASSWORD - Static variable in class org.apache.commons.dbcp2.Constants
-
JDBC properties and URL key for passwords.
- KEY_POOL_PREPARED_STATEMENTS - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_TIME_BETWEEN_EVICTION_RUNS_MILLIS - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_URL - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- KEY_USER - Static variable in class org.apache.commons.dbcp2.Constants
-
JDBC properties and URL key for users.
- KeyedCPDSConnectionFactory - Class in org.apache.commons.dbcp2.datasources
-
A
KeyedPooledObjectFactorythat createsPoolableConnections. - KeyedCPDSConnectionFactory(ConnectionPoolDataSource, String, int, boolean) - Constructor for class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- KeyedCPDSConnectionFactory(ConnectionPoolDataSource, String, Duration, boolean) - Constructor for class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Creates a new
KeyedPoolableConnectionFactory.
L
- last() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- lastUsedInstant - Variable in class org.apache.commons.dbcp2.AbandonedTrace
-
Last time this connection was used.
- lastValidationSql - Variable in class org.apache.commons.dbcp2.PoolableConnection
- LifetimeExceededException - Exception Class in org.apache.commons.dbcp2
-
Exception thrown when a connection's maximum lifetime has been exceeded.
- LifetimeExceededException() - Constructor for exception class org.apache.commons.dbcp2.LifetimeExceededException
-
Constructs a new instance.
- LifetimeExceededException(String) - Constructor for exception class org.apache.commons.dbcp2.LifetimeExceededException
-
Constructs a new instance with the given message.
- lifo - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
True means that borrowObject returns the most recently used ("last in") connection in the pool (if there are idle connections available).
- ListException - Exception Class in org.apache.commons.dbcp2
-
An exception wrapping a list of exceptions.
- ListException(String, List<Throwable>) - Constructor for exception class org.apache.commons.dbcp2.ListException
-
Constructs a new exception with the specified detail message.
- LocalXAConnectionFactory - Class in org.apache.commons.dbcp2.managed
-
An implementation of XAConnectionFactory which manages non-XA connections in XA transactions.
- LocalXAConnectionFactory(TransactionManager, TransactionSynchronizationRegistry, ConnectionFactory) - Constructor for class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory
-
Creates an LocalXAConnectionFactory which uses the specified connection factory to create database connections.
- LocalXAConnectionFactory(TransactionManager, ConnectionFactory) - Constructor for class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory
-
Creates an LocalXAConnectionFactory which uses the specified connection factory to create database connections.
- LocalXAConnectionFactory.LocalXAResource - Class in org.apache.commons.dbcp2.managed
-
LocalXAResource is a fake XAResource for non-XA connections.
- LocalXAResource(Connection) - Constructor for class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Constructs a new instance for a given connection.
- locatorsUpdateCopy() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- lock - Variable in class org.apache.commons.dbcp2.managed.ManagedConnection
- lock - Variable in class org.apache.commons.dbcp2.PoolableConnection
- log - Static variable in class org.apache.commons.dbcp2.BasicDataSource
- log - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- log - Static variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- log - Static variable in class org.apache.commons.dbcp2.ObjectNameWrapper
- log - Static variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- log - Static variable in class org.apache.commons.dbcp2.PoolingDataSource
- log - Variable in class org.apache.commons.dbcp2.SwallowedExceptionLogger
- log(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Logs the given message.
- log(String, Throwable) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Logs the given throwable.
- logExpiredConnections - Variable in class org.apache.commons.dbcp2.BasicDataSource
- logExpiredConnections - Variable in class org.apache.commons.dbcp2.SwallowedExceptionLogger
- logicalConnection - Variable in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
The JDBC database logical connection.
- loginTimeout - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Login TimeOut in seconds
- loginTimeoutDuration - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Login Timeout
- logWriter - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The PrintWriter to which log messages should be directed.
- logWriter - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Log stream.
- logWriter - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Log stream
- logWriter - Variable in class org.apache.commons.dbcp2.PoolingDataSource
-
My log writer.
M
- MAJOR_VERSION - Static variable in class org.apache.commons.dbcp2.PoolingDriver
- makeObject() - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- makeObject() - Method in class org.apache.commons.dbcp2.managed.PoolableManagedConnectionFactory
-
Uses the configured XAConnectionFactory to create a
PoolableManagedConnection. - makeObject() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- makeObject(UserPassKey) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Creates a new
PooledConnectionAndInfofrom the givenUserPassKey. - makeObject(PStmtKey) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
My
KeyedPooledObjectFactorymethod for creatingPreparedStatements. - makeObject(PStmtKey) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
KeyedPooledObjectFactorymethod for creatingPoolablePreparedStatements orPoolableCallableStatements. - ManagedConnection<C> - Class in org.apache.commons.dbcp2.managed
-
ManagedConnection is responsible for managing a database connection in a transactional environment (typically called "Container Managed").
- ManagedConnection(ObjectPool<C>, TransactionRegistry, boolean) - Constructor for class org.apache.commons.dbcp2.managed.ManagedConnection
-
Constructs a new instance responsible for managing a database connection in a transactional environment.
- ManagedConnection.CompletionListener - Class in org.apache.commons.dbcp2.managed
-
Delegates to
ManagedConnection.transactionComplete()for transaction completion events. - ManagedDataSource<C> - Class in org.apache.commons.dbcp2.managed
-
The ManagedDataSource is a PoolingDataSource that creates ManagedConnections.
- ManagedDataSource(ObjectPool<C>, TransactionRegistry) - Constructor for class org.apache.commons.dbcp2.managed.ManagedDataSource
-
Creates a ManagedDataSource which obtains connections from the specified pool and manages them using the specified transaction registry.
- managers - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Map to keep track of Pools for a given user.
- match(PoolingConnection.StatementType, PStmtKey.StatementBuilder, PStmtKey.StatementBuilder) - Static method in class org.apache.commons.dbcp2.PStmtKey
- maxConnDuration - Variable in class org.apache.commons.dbcp2.BasicDataSource
- maxConnDuration - Variable in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- maxConnDuration - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- maxConnDuration - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- maxConnLifetime - Variable in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- maxIdle - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The maximum number of connections that can remain idle in the pool, without extra ones being destroyed, or negative for no limit.
- maxIdle - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- maxOpenPreparedStatements - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The maximum number of open statements that can be allocated from the statement pool at the same time, or negative for no limit.
- maxOpenPreparedStatements - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- maxPreparedStatements - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- maxTotal - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The maximum number of active connections that can be allocated from this pool at the same time, or negative for no limit.
- maxTotal - Variable in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
- maxWaitDuration - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The maximum Duration that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception, or invalid input: '<'= 0 to wait indefinitely.
- MBEAN_SERVER - Static variable in class org.apache.commons.dbcp2.ObjectNameWrapper
- MBEAN_SERVER - Static variable in class org.apache.commons.dbcp2.PoolableConnection
- messages - Static variable in class org.apache.commons.dbcp2.Utils
- minEvictableIdleDuration - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The minimum amount of time an object may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any).
- minEvictableIdleDuration - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- minIdle - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The minimum number of active connections that can remain idle in the pool, without extra ones being created when the evictor runs, or 0 to create none.
- MINOR_VERSION - Static variable in class org.apache.commons.dbcp2.PoolingDriver
- moveToCurrentRow() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- moveToInsertRow() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
N
- name - Variable in class org.apache.commons.dbcp2.datasources.UserPassKey
- nativeSQL(String) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- next() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- NO_KEY_MESSAGE - Static variable in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- NO_KEY_MESSAGE - Static variable in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- normalizeSQL(String) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Normalizes the given SQL statement, producing a canonical form that is semantically equivalent to the original.
- notifyListeners() - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Sends a connectionClosed event.
- NULL - Static variable in class org.apache.commons.dbcp2.datasources.CharArray
- nullPlusNonNullIsNull() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- nullsAreSortedAtEnd() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- nullsAreSortedAtStart() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- nullsAreSortedHigh() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- nullsAreSortedLow() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- numTestsPerEvictionRun - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The number of objects to examine during each run of the idle object evictor thread (if any).
- numTestsPerEvictionRun - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- NUPROP_MAX_ACTIVE - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- NUPROP_MAXWAIT - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- NUPROP_REMOVE_ABANDONED - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- NUPROP_WARNTEXT - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
-
Obsolete properties from DBCP 1.x.
O
- objectName - Variable in class org.apache.commons.dbcp2.ObjectNameWrapper
- ObjectNameWrapper - Class in org.apache.commons.dbcp2
-
Internal wrapper class that allows JMX to be a noop if absent or disabled.
- ObjectNameWrapper(ObjectName) - Constructor for class org.apache.commons.dbcp2.ObjectNameWrapper
- onSwallowException(Exception) - Method in class org.apache.commons.dbcp2.SwallowedExceptionLogger
- org.apache.commons.dbcp2 - package org.apache.commons.dbcp2
-
Database Connection Pool API.
- org.apache.commons.dbcp2.cpdsadapter - package org.apache.commons.dbcp2.cpdsadapter
-
This package contains one public class which is a
ConnectionPoolDataSource(CPDS) implementation that can be used to adapt olderDriverbased JDBC implementations. - org.apache.commons.dbcp2.datasources - package org.apache.commons.dbcp2.datasources
-
This package contains two DataSources:
PerUserPoolDataSourceandSharedPoolDataSourcewhich provide a database connection pool. - org.apache.commons.dbcp2.managed - package org.apache.commons.dbcp2.managed
-
This package provides support for pooling of ManagedConnections.
- originalAutoCommit - Variable in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
- othersDeletesAreVisible(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- othersInsertsAreVisible(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- othersUpdatesAreVisible(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- ownDeletesAreVisible(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- ownInsertsAreVisible(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- ownUpdatesAreVisible(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
P
- parseBoolean(RefAddr) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
- parseInt(RefAddr) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
- parseList(String, char) - Static method in class org.apache.commons.dbcp2.BasicDataSourceFactory
-
Parses list of property values from a delimited string
- parseLong(RefAddr) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
- passivate() - Method in class org.apache.commons.dbcp2.DelegatingConnection
- passivate() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- passivate() - Method in class org.apache.commons.dbcp2.PoolableCallableStatement
-
Passivates to prepare for return to the pool.
- passivate() - Method in class org.apache.commons.dbcp2.PoolableConnection
- passivate() - Method in class org.apache.commons.dbcp2.PoolablePreparedStatement
- passivateObject(UserPassKey, PooledObject<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- passivateObject(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
My
KeyedPooledObjectFactorymethod for passivatingPreparedStatements. - passivateObject(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.PoolingConnection
- passivateObject(PooledObject<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- passivateObject(PooledObject<PoolableConnection>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- password - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The connection password to be passed to our JDBC driver to establish a connection.
- password - Variable in class org.apache.commons.dbcp2.datasources.UserPassKey
- pcMap - Variable in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Map of PooledConnectionAndInfo instances
- pcMap - Variable in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Map of PooledConnectionAndInfo instances
- PER_USER_POOL_CLASSNAME - Static variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSourceFactory
- perUserBlockWhenExhausted - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserDefaultAutoCommit - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserDefaultReadOnly - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserDefaultTransactionIsolation - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserDurationBetweenEvictionRuns - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserEvictionPolicyClassName - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserLifo - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserMaxIdle - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserMaxTotal - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserMaxWaitDuration - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserMinEvictableIdleDuration - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserMinIdle - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserNumTestsPerEvictionRun - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- PerUserPoolDataSource - Class in org.apache.commons.dbcp2.datasources
-
A pooling
DataSourceappropriate for deployment within J2EE environment. - PerUserPoolDataSource() - Constructor for class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Default no-arg constructor for Serialization.
- PerUserPoolDataSourceFactory - Class in org.apache.commons.dbcp2.datasources
-
A JNDI ObjectFactory which creates
SharedPoolDataSources - PerUserPoolDataSourceFactory() - Constructor for class org.apache.commons.dbcp2.datasources.PerUserPoolDataSourceFactory
- perUserSoftMinEvictableIdleDuration - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserTestOnBorrow - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserTestOnCreate - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserTestOnReturn - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- perUserTestWhileIdle - Variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- pool - Variable in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- pool - Variable in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- pool - Variable in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
- pool - Variable in class org.apache.commons.dbcp2.managed.ManagedConnection
- pool - Variable in class org.apache.commons.dbcp2.PoolableCallableStatement
-
The
KeyedObjectPoolfrom which this CallableStatement was obtained. - pool - Variable in class org.apache.commons.dbcp2.PoolableConnection
-
The pool to which I should return.
- pool - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- pool - Variable in class org.apache.commons.dbcp2.PoolablePreparedStatement
-
The
KeyedObjectPoolfrom which I was obtained. - pool - Variable in class org.apache.commons.dbcp2.PoolingDataSource
- pool - Variable in class org.apache.commons.dbcp2.PoolingDriver.PoolGuardConnectionWrapper
- PoolableCallableStatement - Class in org.apache.commons.dbcp2
-
A
DelegatingCallableStatementthat cooperates withPoolingConnectionto implement a pool ofCallableStatements. - PoolableCallableStatement(CallableStatement, PStmtKey, KeyedObjectPool<PStmtKey, DelegatingPreparedStatement>, DelegatingConnection<Connection>) - Constructor for class org.apache.commons.dbcp2.PoolableCallableStatement
-
Constructs a new instance.
- PoolableConnection - Class in org.apache.commons.dbcp2
-
A delegating connection that, rather than closing the underlying connection, returns itself to an
ObjectPoolwhen closed. - PoolableConnection(Connection, ObjectPool<PoolableConnection>, ObjectName) - Constructor for class org.apache.commons.dbcp2.PoolableConnection
- PoolableConnection(Connection, ObjectPool<PoolableConnection>, ObjectName, Collection<String>, boolean) - Constructor for class org.apache.commons.dbcp2.PoolableConnection
- PoolableConnectionFactory - Class in org.apache.commons.dbcp2
-
A
PooledObjectFactorythat createsPoolableConnections. - PoolableConnectionFactory(ConnectionFactory, ObjectName) - Constructor for class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Creates a new
PoolableConnectionFactory. - PoolableConnectionMXBean - Interface in org.apache.commons.dbcp2
-
Defines the attributes and methods that will be exposed via JMX for
PoolableConnectioninstances. - PoolableManagedConnection - Class in org.apache.commons.dbcp2.managed
-
PoolableConnection that unregisters from TransactionRegistry on Connection real destroy.
- PoolableManagedConnection(TransactionRegistry, Connection, ObjectPool<PoolableConnection>) - Constructor for class org.apache.commons.dbcp2.managed.PoolableManagedConnection
-
Create a PoolableManagedConnection.
- PoolableManagedConnection(TransactionRegistry, Connection, ObjectPool<PoolableConnection>, Collection<String>, boolean) - Constructor for class org.apache.commons.dbcp2.managed.PoolableManagedConnection
-
Create a PoolableManagedConnection.
- PoolableManagedConnectionFactory - Class in org.apache.commons.dbcp2.managed
-
A
PoolableConnectionFactorythat createsPoolableManagedConnections. - PoolableManagedConnectionFactory(XAConnectionFactory, ObjectName) - Constructor for class org.apache.commons.dbcp2.managed.PoolableManagedConnectionFactory
-
Creates a PoolableManagedConnectionFactory and attach it to a connection pool.
- PoolablePreparedStatement<K> - Class in org.apache.commons.dbcp2
-
A
DelegatingPreparedStatementthat cooperates withPoolingConnectionto implement a pool ofPreparedStatements. - PoolablePreparedStatement(PreparedStatement, K, KeyedObjectPool<K, PoolablePreparedStatement<K>>, DelegatingConnection<?>) - Constructor for class org.apache.commons.dbcp2.PoolablePreparedStatement
-
Constructs a new instance.
- pooledConnection - Variable in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
The object that instantiated this object
- pooledConnection - Variable in class org.apache.commons.dbcp2.datasources.PooledConnectionAndInfo
- PooledConnectionAndInfo - Class in org.apache.commons.dbcp2.datasources
-
Immutable poolable object holding a
PooledConnectionalong with the user name and password used to create the connection. - PooledConnectionAndInfo(PooledConnection, char[], char[]) - Constructor for class org.apache.commons.dbcp2.datasources.PooledConnectionAndInfo
-
Constructs a new instance.
- PooledConnectionAndInfo(PooledConnection, UserPassKey) - Constructor for class org.apache.commons.dbcp2.datasources.PooledConnectionAndInfo
- PooledConnectionImpl - Class in org.apache.commons.dbcp2.cpdsadapter
-
Implementation of
PooledConnectionthat is returned byDriverAdapterCPDS. - PooledConnectionImpl(Connection) - Constructor for class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Wraps a real connection.
- PooledConnectionManager - Interface in org.apache.commons.dbcp2.datasources
-
Methods to manage PoolableConnections and the connection pools that source them.
- PoolGuardConnectionWrapper(D) - Constructor for class org.apache.commons.dbcp2.PoolingDataSource.PoolGuardConnectionWrapper
- PoolGuardConnectionWrapper(ObjectPool<? extends Connection>, Connection) - Constructor for class org.apache.commons.dbcp2.PoolingDriver.PoolGuardConnectionWrapper
- PoolingConnection - Class in org.apache.commons.dbcp2
-
A
DelegatingConnectionthat poolsPreparedStatements. - PoolingConnection(Connection) - Constructor for class org.apache.commons.dbcp2.PoolingConnection
-
Constructs a new instance.
- PoolingConnection.StatementType - Enum in org.apache.commons.dbcp2
-
Statement types.
- PoolingDataSource<C> - Class in org.apache.commons.dbcp2
- PoolingDataSource(ObjectPool<C>) - Constructor for class org.apache.commons.dbcp2.PoolingDataSource
-
Constructs a new instance backed by the given connection pool.
- PoolingDataSource.PoolGuardConnectionWrapper<D> - Class in org.apache.commons.dbcp2
-
PoolGuardConnectionWrapper is a Connection wrapper that makes sure a closed connection cannot be used anymore.
- PoolingDriver - Class in org.apache.commons.dbcp2
- PoolingDriver() - Constructor for class org.apache.commons.dbcp2.PoolingDriver
-
Constructs a new driver with
accessToUnderlyingConnectionAllowedenabled. - PoolingDriver(boolean) - Constructor for class org.apache.commons.dbcp2.PoolingDriver
-
For unit testing purposes.
- PoolingDriver.PoolGuardConnectionWrapper - Class in org.apache.commons.dbcp2
-
PoolGuardConnectionWrapper is a Connection wrapper that makes sure a closed connection cannot be used anymore.
- PoolKey - Class in org.apache.commons.dbcp2.datasources
- PoolKey(String, String) - Constructor for class org.apache.commons.dbcp2.datasources.PoolKey
- poolPreparedStatements - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
Prepared statement pooling for this pool.
- poolPreparedStatements - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- pools - Static variable in class org.apache.commons.dbcp2.PoolingDriver
-
The map of registered pools.
- poolStatements - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- postDeregister() - Method in class org.apache.commons.dbcp2.BasicDataSource
- postRegister(Boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
- preDeregister() - Method in class org.apache.commons.dbcp2.BasicDataSource
- prepare(Xid) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
This method does nothing since the LocalXAConnection does not support two-phase-commit.
- prepareCall(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
If pooling of
CallableStatements is turned on in theDriverAdapterCPDS, a pooled object may be returned, otherwise delegate to the wrapped JDBC 1.xConnection. - prepareCall(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates or obtains a
CallableStatementfrom my pool. - prepareCall(String) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- prepareCall(String) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
CallableStatementfrom the pool. - prepareCall(String, int, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
If pooling of
CallableStatements is turned on in theDriverAdapterCPDS, a pooled object may be returned, otherwise delegate to the wrapped JDBC 1.xConnection. - prepareCall(String, int, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates or obtains a
CallableStatementfrom my pool. - prepareCall(String, int, int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- prepareCall(String, int, int) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
CallableStatementfrom the pool. - prepareCall(String, int, int, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
If pooling of
CallableStatements is turned on in theDriverAdapterCPDS, a pooled object may be returned, otherwise delegate to the wrapped JDBC 1.xConnection. - prepareCall(String, int, int, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates or obtains a
CallableStatementfrom my pool. - prepareCall(String, int, int, int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- prepareCall(String, int, int, int) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
CallableStatementfrom the pool. - prepareCall(PStmtKey) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
CallableStatementfrom the pool. - PREPARED_STATEMENT - Enum constant in enum org.apache.commons.dbcp2.PoolingConnection.StatementType
-
Prepared statement.
- prepareStatement(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
If pooling of
PreparedStatements is turned on in theDriverAdapterCPDS, a pooled object may be returned, otherwise delegate to the wrapped JDBC 1.xConnection. - prepareStatement(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates or obtains a
PreparedStatementfrom my pool. - prepareStatement(String) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- prepareStatement(String) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
PreparedStatementfrom the pool. - prepareStatement(String, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
- prepareStatement(String, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates or obtains a
PreparedStatementfrom my pool. - prepareStatement(String, int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- prepareStatement(String, int) - Method in class org.apache.commons.dbcp2.PoolingConnection
- prepareStatement(String, int[]) - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
- prepareStatement(String, int[]) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- prepareStatement(String, int[]) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- prepareStatement(String, int[]) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
PreparedStatementfrom the pool. - prepareStatement(String, int, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
-
If pooling of
PreparedStatements is turned on in theDriverAdapterCPDS, a pooled object may be returned, otherwise delegate to the wrapped JDBC 1.xConnection. - prepareStatement(String, int, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
Creates or obtains a
PreparedStatementfrom my pool. - prepareStatement(String, int, int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- prepareStatement(String, int, int) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
PreparedStatementfrom the pool. - prepareStatement(String, int, int, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
- prepareStatement(String, int, int, int) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- prepareStatement(String, int, int, int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- prepareStatement(String, int, int, int) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
PreparedStatementfrom the pool. - prepareStatement(String, String[]) - Method in class org.apache.commons.dbcp2.cpdsadapter.ConnectionImpl
- prepareStatement(String, String[]) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- prepareStatement(String, String[]) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- prepareStatement(String, String[]) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
PreparedStatementfrom the pool. - prepareStatement(PStmtKey) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
PreparedStatementfrom the pool. - prepareToReturn() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- preRegister(MBeanServer, ObjectName) - Method in class org.apache.commons.dbcp2.BasicDataSource
- previous() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- PROP_ABANDONED_USAGE_TRACKING - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_ACCESS_TO_UNDERLYING_CONNECTION_ALLOWED - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_CACHE_STATE - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_CLEAR_STATEMENT_POOL_ON_RETURN - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_CONNECTION_FACTORY_CLASS_NAME - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_CONNECTION_INIT_SQLS - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
-
The property name for connectionInitSqls.
- PROP_CONNECTION_PROPERTIES - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_DEFAULT_AUTO_COMMIT - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_DEFAULT_CATALOG - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_DEFAULT_QUERY_TIMEOUT - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_DEFAULT_READ_ONLY - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_DEFAULT_SCHEMA - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_DEFAULT_TRANSACTION_ISOLATION - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_DISCONNECTION_SQL_CODES - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
-
Value string must be of the form [STATE_CODE,]*
- PROP_DRIVER_CLASS_NAME - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_ENABLE_AUTO_COMMIT_ON_RETURN - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_EVICTION_POLICY_CLASS_NAME - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_FAST_FAIL_VALIDATION - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_INITIAL_SIZE - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_JMX_NAME - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_LIFO - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_LOG_ABANDONED - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_LOG_EXPIRED_CONNECTIONS - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_MAX_CONN_LIFETIME_MILLIS - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_MAX_IDLE - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_MAX_OPEN_PREPARED_STATEMENTS - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_MAX_TOTAL - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_MAX_WAIT_MILLIS - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_MIN_IDLE - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_NUM_TESTS_PER_EVICTION_RUN - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_PASSWORD - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_POOL_PREPARED_STATEMENTS - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_REGISTER_CONNECTION_MBEAN - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_REMOVE_ABANDONED_ON_BORROW - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_REMOVE_ABANDONED_ON_MAINTENANCE - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_REMOVE_ABANDONED_TIMEOUT - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_ROLLBACK_ON_RETURN - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_TEST_ON_BORROW - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_TEST_ON_CREATE - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_TEST_ON_RETURN - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_TEST_WHILE_IDLE - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_TIME_BETWEEN_EVICTION_RUNS_MILLIS - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_URL - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_USER_NAME - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_VALIDATION_QUERY - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- PROP_VALIDATION_QUERY_TIMEOUT - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- properties - Variable in class org.apache.commons.dbcp2.DriverConnectionFactory
- properties - Variable in class org.apache.commons.dbcp2.DriverManagerConnectionFactory
- PStmtKey - Class in org.apache.commons.dbcp2
-
A key uniquely identifying
PreparedStatements. - PStmtKey(String) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Deprecated.
- PStmtKey(String, int, int) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Deprecated.
- PStmtKey(String, String) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Deprecated.
- PStmtKey(String, String, int) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Deprecated.
- PStmtKey(String, String, int[]) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Deprecated.
- PStmtKey(String, String, int, int) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Deprecated.
- PStmtKey(String, String, int, int, int) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Deprecated.
- PStmtKey(String, String, int, int, int, PoolingConnection.StatementType) - Constructor for class org.apache.commons.dbcp2.PStmtKey
- PStmtKey(String, String, int, int, PoolingConnection.StatementType) - Constructor for class org.apache.commons.dbcp2.PStmtKey
- PStmtKey(String, String, String) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Constructs a key to uniquely identify a prepared statement.
- PStmtKey(String, String, String[]) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Deprecated.
- PStmtKey(String, String, String, int) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Constructs a key to uniquely identify a prepared statement.
- PStmtKey(String, String, String, int[]) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Constructs a key to uniquely identify a prepared statement.
- PStmtKey(String, String, String, int, int) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Constructs a key to uniquely identify a prepared statement.
- PStmtKey(String, String, String, int, int, int) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Constructs a key to uniquely identify a prepared statement.
- PStmtKey(String, String, String, int, int, int, PoolingConnection.StatementType) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Constructs a key to uniquely identify a prepared statement.
- PStmtKey(String, String, String, int, int, PoolingConnection.StatementType) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Constructs a key to uniquely identify a prepared statement.
- PStmtKey(String, String, String, Integer, Integer, Integer, Integer, int[], String[], PoolingConnection.StatementType, Function<PStmtKey, PStmtKey.StatementBuilder>) - Constructor for class org.apache.commons.dbcp2.PStmtKey
- PStmtKey(String, String, String, Integer, Integer, Integer, Integer, int[], String[], PoolingConnection.StatementType, PStmtKey.StatementBuilder) - Constructor for class org.apache.commons.dbcp2.PStmtKey
- PStmtKey(String, String, String, String[]) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Constructs a key to uniquely identify a prepared statement.
- PStmtKey(String, String, String, PoolingConnection.StatementType) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Constructs a key to uniquely identify a prepared statement.
- PStmtKey(String, String, String, PoolingConnection.StatementType, Integer) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Constructs a key to uniquely identify a prepared statement.
- PStmtKey(String, String, PoolingConnection.StatementType) - Constructor for class org.apache.commons.dbcp2.PStmtKey
-
Deprecated.
- PStmtKey(String, String, PoolingConnection.StatementType, Integer) - Constructor for class org.apache.commons.dbcp2.PStmtKey
- PStmtKey.StatementBuilder - Interface in org.apache.commons.dbcp2
-
Interface for Prepared or Callable Statement.
- PStmtKeyCPDS - Class in org.apache.commons.dbcp2.cpdsadapter
-
Deprecated.Use
PStmtKey. - PStmtKeyCPDS(String) - Constructor for class org.apache.commons.dbcp2.cpdsadapter.PStmtKeyCPDS
-
Deprecated.Constructs a key to uniquely identify a prepared statement.
- PStmtKeyCPDS(String, int) - Constructor for class org.apache.commons.dbcp2.cpdsadapter.PStmtKeyCPDS
-
Deprecated.Constructs a key to uniquely identify a prepared statement.
- PStmtKeyCPDS(String, int[]) - Constructor for class org.apache.commons.dbcp2.cpdsadapter.PStmtKeyCPDS
-
Deprecated.Constructs a key to uniquely identify a prepared statement.
- PStmtKeyCPDS(String, int, int) - Constructor for class org.apache.commons.dbcp2.cpdsadapter.PStmtKeyCPDS
-
Deprecated.Constructs a key to uniquely identify a prepared statement.
- PStmtKeyCPDS(String, int, int, int) - Constructor for class org.apache.commons.dbcp2.cpdsadapter.PStmtKeyCPDS
-
Deprecated.Constructs a key to uniquely identify a prepared statement.
- PStmtKeyCPDS(String, String[]) - Constructor for class org.apache.commons.dbcp2.cpdsadapter.PStmtKeyCPDS
-
Deprecated.Constructs a key to uniquely identify a prepared statement.
- pStmtPool - Variable in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
My pool of
PreparedStatements. - pStmtPool - Variable in class org.apache.commons.dbcp2.PoolingConnection
-
Pool of
PreparedStatements. - put(Map<K, V>, K, V) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
R
- readObject(ObjectInputStream) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Supports Serialization interface.
- readObject(ObjectInputStream) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Supports Serialization interface.
- reallyClose() - Method in class org.apache.commons.dbcp2.managed.PoolableManagedConnection
-
Actually close the underlying connection.
- reallyClose() - Method in class org.apache.commons.dbcp2.PoolableConnection
-
Actually close my underlying
Connection. - reallyClose() - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
- recover(int) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Always returns a zero length Xid array.
- refreshRow() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- registerConnection(Connection, XAResource) - Method in class org.apache.commons.dbcp2.managed.TransactionRegistry
-
Registers the association between a Connection and a XAResource.
- registerConnectionMBean - Variable in class org.apache.commons.dbcp2.BasicDataSource
- registeredJmxObjectName - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
Actual name under which this component has been registered.
- registerJmxObjectName(String, ObjectName) - Method in class org.apache.commons.dbcp2.BasicDataSource
- registerMBean(Object) - Method in class org.apache.commons.dbcp2.ObjectNameWrapper
- registerNewInstance(InstanceKeyDataSource) - Static method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
- registerOutParameter(int, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(int, int, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(int, int, String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(int, SQLType) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(int, SQLType, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(int, SQLType, String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(String, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(String, int, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(String, int, String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(String, SQLType) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(String, SQLType, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerOutParameter(String, SQLType, String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- registerPool(String, String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- registerPool(String, String) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
- registerPool(String, ObjectPool<? extends Connection>) - Method in class org.apache.commons.dbcp2.PoolingDriver
-
Registers a named pool.
- relative(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- releaseSavepoint(Savepoint) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- removeConnectionEventListener(ConnectionEventListener) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- removeConnectionProperty(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Removes a custom connection property.
- removeInstance(String) - Static method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
- removeStatementEventListener(StatementEventListener) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- removeThisTrace(Object) - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Removes this object the source object is tracing.
- removeTrace(AbandonedTrace) - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Removes a child object this object is tracing.
- replaceAll(Map<K, V>, Map<K, V>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- restart() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Restarts the datasource.
- restart() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- resultSet - Variable in class org.apache.commons.dbcp2.DelegatingResultSet
-
My delegate.
- resultSetConcurrency - Variable in class org.apache.commons.dbcp2.PStmtKey
-
Result set concurrency.
- resultSetHoldability - Variable in class org.apache.commons.dbcp2.PStmtKey
-
Result set holdability.
- resultSetType - Variable in class org.apache.commons.dbcp2.PStmtKey
-
Result set type; one of
ResultSet.TYPE_FORWARD_ONLY,ResultSet.TYPE_SCROLL_INSENSITIVE, orResultSet.TYPE_SCROLL_SENSITIVE. - rollback() - Method in class org.apache.commons.dbcp2.DelegatingConnection
- rollback() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
- rollback(Savepoint) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- rollback(Xid) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Rolls back the transaction and restores the original auto commit setting.
- rollbackAfterValidation - Variable in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- rollbackAfterValidation - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- rollbackAfterValidation - Variable in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- rollbackOnReturn - Variable in class org.apache.commons.dbcp2.BasicDataSource
- rollbackOnReturn - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- rowDeleted() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- rowInserted() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- rowUpdated() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
S
- schema - Variable in class org.apache.commons.dbcp2.PStmtKey
-
Database schema.
- serialVersionUID - Static variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- serialVersionUID - Static variable in class org.apache.commons.dbcp2.datasources.CharArray
- serialVersionUID - Static variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- serialVersionUID - Static variable in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- serialVersionUID - Static variable in class org.apache.commons.dbcp2.datasources.PoolKey
- serialVersionUID - Static variable in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
- serialVersionUID - Static variable in class org.apache.commons.dbcp2.datasources.UserPassKey
- serialVersionUID - Static variable in exception class org.apache.commons.dbcp2.LifetimeExceededException
- serialVersionUID - Static variable in exception class org.apache.commons.dbcp2.ListException
- serialVersionUID - Static variable in exception class org.apache.commons.dbcp2.SQLExceptionList
- setAbandoned(BiConsumer<AbandonedConfig, T>, T) - Method in class org.apache.commons.dbcp2.BasicDataSource
- setAbandonedLogWriter(PrintWriter) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the print 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.cpdsadapter.PooledConnectionImpl
-
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(int, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- 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(String, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setAsciiStream(String, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setAsciiStream(String, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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
- setAutoCommitOnReturn(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 isfalsewhen the connection is returned. - setAutoCommitOnReturn(boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- setBigDecimal(int, BigDecimal) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setBigDecimal(String, BigDecimal) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setBinaryStream(int, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- 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(String, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setBinaryStream(String, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setBinaryStream(String, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setBlob(int, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setBlob(int, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setBlob(int, Blob) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setBlob(String, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setBlob(String, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setBlob(String, Blob) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setBoolean(int, boolean) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setBoolean(String, boolean) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setByte(int, byte) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setByte(String, byte) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setBytes(int, byte[]) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setBytes(String, byte[]) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- 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(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setCharacterStream(String, Reader, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setCharacterStream(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setClearStatementPoolOnReturn(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets whether the pool of statements (which was enabled with
BasicDataSource.setPoolPreparedStatements(boolean)) should be cleared when the connection is returned to its pool. - setClearStatementPoolOnReturn(boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets whether the pool of statements (which was enabled with
setPoolStatements(boolean)) should be cleared when the connection is returned to its pool. - setClearStatementPoolOnReturn(boolean) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Sets whether the pool of statements should be cleared when the connection is returned to its pool.
- setClientInfo(String, String) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- setClientInfo(Properties) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- setClob(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setClob(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setClob(int, Clob) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setClob(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setClob(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setClob(String, Clob) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setClosedInternal(boolean) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- setClosedInternal(boolean) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- setCommonProperties(Reference, InstanceKeyDataSource) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
- setConnectionFactoryClassName(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the ConnectionFactory class name.
- setConnectionInitSql(Collection<String>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the SQL statements I use to initialize newly created
Connections. - setConnectionInitSqls(Collection<String>) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the collection of SQL statements to be executed when a physical connection is first created.
- setConnectionInitSqls(List<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.
- setConnectionPool(BiConsumer<GenericObjectPool<PoolableConnection>, T>, T) - Method in class org.apache.commons.dbcp2.BasicDataSource
- setConnectionPoolDataSource(ConnectionPoolDataSource) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the back end 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
-
Sets 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
-
Sets the name of the ConnectionPoolDataSource which backs this pool.
- setDate(int, Date) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setDate(int, Date, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setDate(String, Date) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setDate(String, Date, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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
-
Sets 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
Connections - setDefaultBlockWhenExhausted(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
BaseObjectPoolConfig.getBlockWhenExhausted()for each per user pool. - 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
Connections - setDefaultDurationBetweenEvictionRuns(Duration) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
()for each per user pool. - setDefaultEvictionPolicyClassName(String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
BaseObjectPoolConfig.getEvictionPolicyClassName()for each per user pool. - setDefaultLifo(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
BaseObjectPoolConfig.getLifo()for each per user pool. - setDefaultMaxIdle(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
GenericKeyedObjectPoolConfig.getMaxIdlePerKey()for each per user pool. - setDefaultMaxTotal(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
GenericKeyedObjectPoolConfig.getMaxTotalPerKey()for each per user pool. - setDefaultMaxWait(Duration) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
BaseObjectPoolConfig.getMaxWaitDuration()for each per user pool. - setDefaultMaxWaitMillis(long) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- setDefaultMinEvictableIdle(Duration) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
BaseObjectPoolConfig.getMinEvictableIdleDuration()for each per user pool. - setDefaultMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- setDefaultMinIdle(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
GenericKeyedObjectPoolConfig.getMinIdlePerKey()for each per user pool. - setDefaultNumTestsPerEvictionRun(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
BaseObjectPoolConfig.getNumTestsPerEvictionRun()for each per user pool. - setDefaultQueryTimeout(Integer) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- setDefaultQueryTimeout(Integer) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Deprecated.
- setDefaultQueryTimeout(Integer) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Deprecated.
- setDefaultQueryTimeout(Duration) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the default query timeout that will be used for
Statements created from this connection. - setDefaultQueryTimeout(Duration) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Sets the default query timeout that will be used for
Statements created from this connection. - setDefaultQueryTimeout(Duration) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the query timeout Duration.
- setDefaultReadOnly(Boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets defaultReadonly property.
- setDefaultReadOnly(Boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets 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
Connections - setDefaultSchema(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the default schema.
- setDefaultSchema(String) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the default "schema" setting for borrowed
Connections - setDefaultSoftMinEvictableIdle(Duration) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
GenericObjectPool#getSoftMinEvictableIdleTimeMillis()for each per user pool. - setDefaultSoftMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- setDefaultTestOnBorrow(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
GenericObjectPool#getTestOnBorrow()for each per user pool. - setDefaultTestOnCreate(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
GenericObjectPool#getTestOnCreate()for each per user pool. - setDefaultTestOnReturn(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
GenericObjectPool#getTestOnReturn()for each per user pool. - setDefaultTestWhileIdle(boolean) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the default value for
GenericObjectPool#getTestWhileIdle()for each per user pool. - 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
-
Sets 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
Connections - 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
-
Sets the value of description.
- setDescription(String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets 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(int, double) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setDouble(String, double) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setDriver(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the driver class name.
- setDriver(Driver) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the JDBC Driver instance to use for this pool.
- 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.
- setDurationBetweenEvictionRuns(Duration) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the {code durationBetweenEvictionRuns} property.
- setDurationBetweenEvictionRuns(Duration) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the duration to sleep between runs of the idle object evictor thread.
- setEnableAutoCommitOnReturn(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- setEnableAutoCommitOnReturn(boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Deprecated.
- 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(int, float) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setFloat(String, float) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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(int, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setInt(String, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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.
- setJndiEnvironment(Properties) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the JNDI environment to be used when instantiating a JNDI InitialContext.
- setLargeMaxRows(long) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- setLastUsed() - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Sets the time this object was last used to the current time in milliseconds.
- setLastUsed() - Method in class org.apache.commons.dbcp2.PoolableConnection
- setLastUsed(long) - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Deprecated.
- setLastUsed(Instant) - Method in class org.apache.commons.dbcp2.AbandonedTrace
-
Sets the instant this object was last used.
- setLastUsedInParent() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- 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.getMaxConnDuration()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
-
Deprecated.
- setLoginTimeout(int) - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
Throws
UnsupportedOperationException. - setLoginTimeout(Duration) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the value of loginTimeout.
- 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
-
Sets the log writer for this data source.
- setLogWriter(PrintWriter) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the value of logWriter.
- setLogWriter(PrintWriter) - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
Sets my log writer.
- setLong(int, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setLong(String, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setMaxConn(Duration) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the maximum permitted lifetime of a connection.
- setMaxConn(Duration) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Sets the maximum Duration of a connection after which the connection will always fail activation, passivation and validation.
- setMaxConn(Duration) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Sets the maximum lifetime of a connection after which the connection will always fail activation, passivation and validation.
- setMaxConn(Duration) - 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.
- setMaxConnLifetime(Duration) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Deprecated.
- setMaxConnLifetime(Duration) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the maximum permitted lifetime of a connection.
- setMaxConnLifetime(Duration) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Deprecated.
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Deprecated.
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Deprecated.
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Deprecated.Use
setMaxConn(Duration). - 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
-
Gets 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
maxOpenPreparedStatementsproperty. - setMaxOpenPreparedStatements(int) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the maximum number of open prepared statements.
- setMaxOpenPrepatedStatements(int) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Deprecated.
- 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
-
Sets
BaseGenericObjectPool.getMaxTotal()for this pool. - setMaxWait(Duration) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the MaxWaitMillis property.
- setMaxWaitMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- setMinEvictableIdle(Duration) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the {code minEvictableIdleDuration} property.
- setMinEvictableIdleDuration(Duration) - 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).
- setMinEvictableIdleTimeMillis(int) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Deprecated.
- setMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- setMinIdle(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the minimum number of idle connections in the pool.
- setNCharacterStream(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setNCharacterStream(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setNCharacterStream(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setNCharacterStream(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setNClob(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setNClob(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setNClob(int, NClob) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setNClob(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setNClob(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setNClob(String, NClob) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setNetworkTimeout(Connection, Executor, int) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
Connection.setNetworkTimeout(Executor, int)without throwing anAbstractMethodError. - setNetworkTimeout(Executor, int) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- setNString(int, String) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setNString(String, 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
- setNull(String, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setNull(String, int, String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setNumTestsPerEvictionRun(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the value of the {code numTestsPerEvictionRun} property.
- 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(int, Object) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setObject(int, Object, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setObject(int, Object, int, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setObject(int, Object, SQLType) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setObject(int, Object, SQLType, int) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setObject(String, Object) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setObject(String, Object, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setObject(String, Object, int, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setObject(String, Object, SQLType) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setObject(String, Object, SQLType, int) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setPassword(char[]) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the value of password for the default user.
- setPassword(char[]) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Sets the database password used when creating new connections.
- setPassword(char[]) - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Sets the password used to authenticate new connections.
- setPassword(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the {code password}.
- setPassword(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the value of password for the default user.
- setPassword(String) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Sets the database password used when creating new connections.
- setPassword(String) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Does nothing.
- setPassword(String) - Method in interface org.apache.commons.dbcp2.datasources.PooledConnectionManager
-
Sets the database password used when creating connections.
- 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
-
Sets a user specific value for
BaseGenericObjectPool.getBlockWhenExhausted()for the specified user's pool. - setPerUserBlockWhenExhausted(Map<String, Boolean>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserDefaultAutoCommit(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific default value for
Connection.setAutoCommit(boolean)for the specified user's pool. - setPerUserDefaultAutoCommit(Map<String, Boolean>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserDefaultReadOnly(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific default value for
Connection.setReadOnly(boolean)for the specified user's pool. - setPerUserDefaultReadOnly(Map<String, Boolean>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserDefaultTransactionIsolation(String, Integer) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific default value for
Connection.setTransactionIsolation(int)for the specified user's pool. - setPerUserDefaultTransactionIsolation(Map<String, Integer>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserDurationBetweenEvictionRuns(String, Duration) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getDurationBetweenEvictionRuns()for the specified user's pool. - setPerUserDurationBetweenEvictionRuns(Map<String, Duration>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserEvictionPolicyClassName(String, String) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getEvictionPolicyClassName()for the specified user's pool. - setPerUserEvictionPolicyClassName(Map<String, String>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserLifo(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getLifo()for the specified user's pool. - setPerUserLifo(Map<String, Boolean>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserMaxIdle(String, Integer) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
GenericObjectPool.getMaxIdle()for the specified user's pool. - setPerUserMaxIdle(Map<String, Integer>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserMaxTotal(String, Integer) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getMaxTotal()for the specified user's pool. - setPerUserMaxTotal(Map<String, Integer>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserMaxWait(String, Duration) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getMaxWaitDuration()for the specified user's pool. - setPerUserMaxWaitDuration(Map<String, Duration>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserMaxWaitMillis(String, Long) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Deprecated.
- setPerUserMaxWaitMillis(Map<String, Long>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserMinEvictableIdle(String, Duration) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getMinEvictableIdleDuration()for the specified user's pool. - setPerUserMinEvictableIdle(Map<String, Duration>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserMinEvictableIdleTimeMillis(String, Long) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Deprecated.
- setPerUserMinIdle(String, Integer) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
GenericObjectPool.getMinIdle()for the specified user's pool. - setPerUserMinIdle(Map<String, Integer>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserNumTestsPerEvictionRun(String, Integer) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getNumTestsPerEvictionRun()for the specified user's pool. - setPerUserNumTestsPerEvictionRun(Map<String, Integer>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserSoftMinEvictableIdle(String, Duration) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getSoftMinEvictableIdleDuration()for the specified user's pool. - setPerUserSoftMinEvictableIdle(Map<String, Duration>) - 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
-
Sets a user specific value for
BaseGenericObjectPool.getTestOnBorrow()for the specified user's pool. - setPerUserTestOnBorrow(Map<String, Boolean>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserTestOnCreate(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getTestOnCreate()for the specified user's pool. - setPerUserTestOnCreate(Map<String, Boolean>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserTestOnReturn(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getTestOnReturn()for the specified user's pool. - setPerUserTestOnReturn(Map<String, Boolean>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserTestWhileIdle(String, Boolean) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Sets a user specific value for
BaseGenericObjectPool.getTestWhileIdle()for the specified user's pool. - setPerUserTestWhileIdle(Map<String, Boolean>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPerUserTimeBetweenEvictionRunsMillis(String, Long) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPool(KeyedObjectPool<UserPassKey, PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- setPool(ObjectPool<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- setPool(ObjectPool<PoolableConnection>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the
ObjectPoolin which to poolConnections. - 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
-
Whether to toggle the pooling of
PreparedStatements - 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
- setRegisterConnectionMBean(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets if connection level JMX tracking is requested for this DataSource.
- 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
-
Deprecated.
- setRemoveAbandonedTimeout(Duration) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the timeout 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(int, RowId) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setRowId(String, RowId) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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
- setSchema(Connection, String) - Static method in class org.apache.commons.dbcp2.Jdbc41Bridge
-
Delegates to
Connection.setSchema(String)without throwing anAbstractMethodError. - setSharedConnection(Connection) - Method in class org.apache.commons.dbcp2.managed.TransactionContext
-
Sets the shared connection for this transaction.
- setShort(int, short) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setShort(String, short) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setSoftMinEvictableIdle(Duration) - 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.
- setSoftMinEvictableIdleTimeMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- setSQLXML(int, SQLXML) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setSQLXML(String, SQLXML) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setStatementPool(KeyedObjectPool<PStmtKey, DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- setStatementPool(KeyedObjectPool<PStmtKey, DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Sets the prepared statement pool.
- setString(int, String) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setString(String, String) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setTestOnBorrow(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the {code testOnBorrow} property.
- setTestOnCreate(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the {code testOnCreate} property.
- setTestOnReturn(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the
testOnReturnproperty. - setTestWhileIdle(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the
testWhileIdleproperty. - setTime(int, Time) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setTime(int, Time, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setTime(String, Time) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setTime(String, Time, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setTimeBetweenEvictionRunsMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- setTimeBetweenEvictionRunsMillis(long) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Deprecated.
- setTimestamp(int, Timestamp) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setTimestamp(int, Timestamp, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setTimestamp(String, Timestamp) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setTimestamp(String, Timestamp, Calendar) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- 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.
- setTransactionSynchronizationRegistry(TransactionSynchronizationRegistry) - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Sets the optional TransactionSynchronizationRegistry property.
- 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.Use setAsciiStream(), setCharacterStream() or setNCharacterStream()
- 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
-
Sets the {code connection string}.
- setUrl(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the value of URL string used to locate the database for this data source.
- setURL(int, URL) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- setURL(String, URL) - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- setUser(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Sets the value of default user (login or user name).
- setUsername(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the {code userName}.
- setUsername(String) - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Sets the user name used to authenticate new connections.
- setValidationQuery(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the {code validationQuery}.
- setValidationQuery(String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets 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
-
Sets the query I use to
validateConnections. - setValidationQueryTimeout(int) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- setValidationQueryTimeout(int) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- setValidationQueryTimeout(int) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Deprecated.
- setValidationQueryTimeout(Duration) - 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(Duration) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Sets the timeout duration before the validation query fails.
- setValidationQueryTimeout(Duration) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the validation query timeout, the amount of time, 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.
- SHARED_POOL_CLASSNAME - Static variable in class org.apache.commons.dbcp2.datasources.SharedPoolDataSourceFactory
- sharedConnection - Variable in class org.apache.commons.dbcp2.managed.TransactionContext
- SharedPoolDataSource - Class in org.apache.commons.dbcp2.datasources
-
A pooling
DataSourceappropriate for deployment within J2EE environment. - SharedPoolDataSource() - Constructor for class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Default no-argument constructor for Serialization
- SharedPoolDataSourceFactory - Class in org.apache.commons.dbcp2.datasources
-
A JNDI ObjectFactory which creates
SharedPoolDataSources - SharedPoolDataSourceFactory() - Constructor for class org.apache.commons.dbcp2.datasources.SharedPoolDataSourceFactory
- SILENT_PROP_AUTH - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- SILENT_PROP_FACTORY - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- SILENT_PROP_SCOPE - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- SILENT_PROP_SINGLETON - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
- SILENT_PROPERTIES - Static variable in class org.apache.commons.dbcp2.BasicDataSourceFactory
-
Silent Properties.
- softMinEvictableIdleDuration - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
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.
- sql - Variable in class org.apache.commons.dbcp2.PStmtKey
-
SQL defining Prepared or Callable Statement
- SQLExceptionList - Exception Class in org.apache.commons.dbcp2
-
An SQLException based on a list of Throwable causes.
- SQLExceptionList(List<? extends Throwable>) - Constructor for exception class org.apache.commons.dbcp2.SQLExceptionList
-
Creates a new exception caused by a list of exceptions.
- start() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Starts the datasource.
- start() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- start(Xid, int) - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory.LocalXAResource
-
Signals that a connection has been enrolled in a transaction.
- startPoolMaintenance() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Starts the connection pool maintenance task, if configured.
- statement - Variable in class org.apache.commons.dbcp2.DelegatingResultSet
-
The Statement that created me, if any.
- statement - Variable in class org.apache.commons.dbcp2.DelegatingStatement
-
My delegate.
- StatementAutoGeneratedKeys - Static variable in class org.apache.commons.dbcp2.PStmtKey
- statementBuilder - Variable in class org.apache.commons.dbcp2.PStmtKey
-
Statement builder.
- StatementColumnIndexes - Static variable in class org.apache.commons.dbcp2.PStmtKey
- StatementColumnNames - Static variable in class org.apache.commons.dbcp2.PStmtKey
- StatementConcurrency - Static variable in class org.apache.commons.dbcp2.PStmtKey
- statementEventListeners - Variable in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
StatementEventListeners.
- StatementHoldability - Static variable in class org.apache.commons.dbcp2.PStmtKey
- StatementSQL - Static variable in class org.apache.commons.dbcp2.PStmtKey
- statementType - Variable in class org.apache.commons.dbcp2.PStmtKey
-
Statement type, prepared or callable.
- StatementType() - Constructor for enum org.apache.commons.dbcp2.PoolingConnection.StatementType
- 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
- supportsRefCursors() - 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.
- SynchronizationAdapter - Class in org.apache.commons.dbcp2.managed
-
Implements
Synchronizationfor subclasses. - SynchronizationAdapter() - Constructor for class org.apache.commons.dbcp2.managed.SynchronizationAdapter
T
- testCPDS(String, String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- testOnBorrow - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The indication of whether objects will be validated before being borrowed from the pool.
- testOnCreate - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The indication of whether objects will be validated as soon as they have been created by the pool.
- testOnReturn - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The indication of whether objects will be validated before being returned to the pool.
- testWhileIdle - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The indication of whether objects will be validated by the idle object evictor (if any).
- toCharArray(String) - Static method in class org.apache.commons.dbcp2.Utils
-
Converts the given String to a char[].
- toDurationOrNull(Long) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- toString() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Does not print the userName and userPassword field nor the 'user' or 'password' in the connectionProperties.
- toString() - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
- toString() - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- toString() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- toString() - Method in class org.apache.commons.dbcp2.datasources.PoolKey
- toString() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Returns a string representation of the metadata associated with the innermost delegate connection.
- toString() - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
-
Returns a String representation of this object.
- toString() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- toString() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
Returns a String representation of this object.
- toString() - Method in class org.apache.commons.dbcp2.DriverConnectionFactory
- toString() - Method in class org.apache.commons.dbcp2.ObjectNameWrapper
- toString() - Method in class org.apache.commons.dbcp2.PoolingConnection
- toString() - Method in class org.apache.commons.dbcp2.PStmtKey
- toString(char[]) - Static method in class org.apache.commons.dbcp2.Utils
-
Converts the given char[] to a String.
- toString(RefAddr) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory
- toStringFields(StringBuilder) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- toStringFields(StringBuilder) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
- traceList - Variable in class org.apache.commons.dbcp2.AbandonedTrace
-
A list of objects created by children of this object.
- transactionComplete - Variable in class org.apache.commons.dbcp2.managed.TransactionContext
- transactionComplete() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
-
Completes the transaction.
- transactionContext - Variable in class org.apache.commons.dbcp2.managed.ManagedConnection
- TransactionContext - Class in org.apache.commons.dbcp2.managed
-
TransactionContext represents the association between a single XAConnectionFactory and a Transaction.
- TransactionContext(TransactionRegistry, Transaction) - Constructor for class org.apache.commons.dbcp2.managed.TransactionContext
-
Provided for backwards compatibility
- TransactionContext(TransactionRegistry, Transaction, TransactionSynchronizationRegistry) - Constructor for class org.apache.commons.dbcp2.managed.TransactionContext
-
Creates a TransactionContext for the specified Transaction and TransactionRegistry.
- TransactionContextListener - Interface in org.apache.commons.dbcp2.managed
-
A listener for transaction completion events.
- transactionManager - Variable in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Transaction Manager
- transactionManager - Variable in class org.apache.commons.dbcp2.managed.TransactionRegistry
- transactionRef - Variable in class org.apache.commons.dbcp2.managed.TransactionContext
- transactionRegistry - Variable in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Transaction Registry
- transactionRegistry - Variable in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
- transactionRegistry - Variable in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory
- transactionRegistry - Variable in class org.apache.commons.dbcp2.managed.ManagedConnection
- transactionRegistry - Variable in class org.apache.commons.dbcp2.managed.ManagedDataSource
- transactionRegistry - Variable in class org.apache.commons.dbcp2.managed.PoolableManagedConnection
- transactionRegistry - Variable in class org.apache.commons.dbcp2.managed.PoolableManagedConnectionFactory
-
Transaction registry associated with connections created by this factory
- transactionRegistry - Variable in class org.apache.commons.dbcp2.managed.TransactionContext
- TransactionRegistry - Class in org.apache.commons.dbcp2.managed
-
TransactionRegistry tracks Connections and XAResources in a transacted environment for a single XAConnectionFactory.
- TransactionRegistry(TransactionManager) - Constructor for class org.apache.commons.dbcp2.managed.TransactionRegistry
-
Provided for backwards compatibility
- TransactionRegistry(TransactionManager, TransactionSynchronizationRegistry) - Constructor for class org.apache.commons.dbcp2.managed.TransactionRegistry
-
Creates a TransactionRegistry for the specified transaction manager.
- transactionSynchronizationRegistry - Variable in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
Transaction Synchronization Registry
- transactionSynchronizationRegistry - Variable in class org.apache.commons.dbcp2.managed.TransactionContext
- transactionSynchronizationRegistry - Variable in class org.apache.commons.dbcp2.managed.TransactionRegistry
U
- UNKNOWN_TRANSACTION_ISOLATION - Static variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Internal constant to indicate the level is not set.
- UNKNOWN_TRANSACTIONISOLATION - Static variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Internal constant to indicate the level is not set.
- unregisterConnection(Connection) - Method in class org.apache.commons.dbcp2.managed.TransactionRegistry
-
Unregisters a destroyed connection from
TransactionRegistry. - unregisterMBean() - Method in class org.apache.commons.dbcp2.ObjectNameWrapper
- unwrap() - Method in class org.apache.commons.dbcp2.ObjectNameWrapper
- unwrap(Class<T>) - Method in class org.apache.commons.dbcp2.BasicDataSource
- unwrap(Class<T>) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- unwrap(Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- unwrap(Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- unwrap(Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- unwrap(Class<T>) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- unwrap(Class<T>) - Method in class org.apache.commons.dbcp2.PoolingDataSource
- unwrap(ObjectNameWrapper) - Static method in class org.apache.commons.dbcp2.ObjectNameWrapper
- update(Properties, String, String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
- updateArray(int, Array) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateArray(String, Array) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateAsciiStream(int, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateAsciiStream(int, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateAsciiStream(int, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateAsciiStream(String, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateAsciiStream(String, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateAsciiStream(String, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBigDecimal(int, BigDecimal) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBigDecimal(String, BigDecimal) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBinaryStream(int, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBinaryStream(int, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBinaryStream(int, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBinaryStream(String, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBinaryStream(String, InputStream, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBinaryStream(String, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBlob(int, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBlob(int, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBlob(int, Blob) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBlob(String, InputStream) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBlob(String, InputStream, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBlob(String, Blob) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBoolean(int, boolean) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBoolean(String, boolean) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateByte(int, byte) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateByte(String, byte) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBytes(int, byte[]) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateBytes(String, byte[]) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateCharacterStream(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateCharacterStream(int, Reader, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateCharacterStream(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateCharacterStream(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateCharacterStream(String, Reader, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateCharacterStream(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateClob(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateClob(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateClob(int, Clob) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateClob(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateClob(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateClob(String, Clob) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateDate(int, Date) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateDate(String, Date) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateDouble(int, double) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateDouble(String, double) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateFloat(int, float) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateFloat(String, float) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateInt(int, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateInt(String, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateJmxName(GenericObjectPoolConfig<?>) - Method in class org.apache.commons.dbcp2.BasicDataSource
- updateLong(int, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateLong(String, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNCharacterStream(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNCharacterStream(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNCharacterStream(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNCharacterStream(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNClob(int, Reader) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNClob(int, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNClob(int, NClob) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNClob(String, Reader) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNClob(String, Reader, long) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNClob(String, NClob) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNString(int, String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNString(String, String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNull(int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateNull(String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateObject(int, Object) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateObject(int, Object, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateObject(int, Object, SQLType) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateObject(int, Object, SQLType, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateObject(String, Object) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateObject(String, Object, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateObject(String, Object, SQLType) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateObject(String, Object, SQLType, int) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateRef(int, Ref) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateRef(String, Ref) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateRow() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateRowId(int, RowId) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateRowId(String, RowId) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updatesAreDetected(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- updateShort(int, short) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateShort(String, short) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateSQLXML(int, SQLXML) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateSQLXML(String, SQLXML) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateString(int, String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateString(String, String) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateTime(int, Time) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateTime(String, Time) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateTimestamp(int, Timestamp) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateTimestamp(String, Timestamp) - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- updateTransactionStatus() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
- URL_PREFIX - Static variable in class org.apache.commons.dbcp2.PoolingDriver
-
My URL prefix
- URL_PREFIX_LEN - Static variable in class org.apache.commons.dbcp2.PoolingDriver
- userName - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The connection user name to be passed to our JDBC driver to establish a connection.
- userName - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
User name
- userName - Variable in class org.apache.commons.dbcp2.DataSourceConnectionFactory
- userName - Variable in class org.apache.commons.dbcp2.datasources.PoolKey
- userName - Variable in class org.apache.commons.dbcp2.DriverManagerConnectionFactory
- userName - Variable in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
- userPassKey - Variable in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- userPassKey - Variable in class org.apache.commons.dbcp2.datasources.PooledConnectionAndInfo
- UserPassKey - Class in org.apache.commons.dbcp2.datasources
-
Holds a user name and password pair.
- UserPassKey(char[], char[]) - Constructor for class org.apache.commons.dbcp2.datasources.UserPassKey
- UserPassKey(String) - Constructor for class org.apache.commons.dbcp2.datasources.UserPassKey
- UserPassKey(String, char[]) - Constructor for class org.apache.commons.dbcp2.datasources.UserPassKey
- UserPassKey(String, String) - Constructor for class org.apache.commons.dbcp2.datasources.UserPassKey
- UserPassKey(CharArray, CharArray) - Constructor for class org.apache.commons.dbcp2.datasources.UserPassKey
- userPassword - Variable in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
User password
- userPassword - Variable in class org.apache.commons.dbcp2.DataSourceConnectionFactory
- userPassword - Variable in class org.apache.commons.dbcp2.DriverManagerConnectionFactory
- userPassword - Variable in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
- usesLocalFilePerTable() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- usesLocalFiles() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- Utils - Class in org.apache.commons.dbcp2
-
Utility methods.
- Utils() - Constructor for class org.apache.commons.dbcp2.Utils
V
- validate(String, int) - Method in class org.apache.commons.dbcp2.PoolableConnection
-
Deprecated.
- validate(String, Duration) - Method in class org.apache.commons.dbcp2.PoolableConnection
-
Validates the connection, using the following algorithm: If
fastFailValidation(constructor argument) istrueand this connection has previously thrown a fatal disconnection exception, aSQLExceptionis thrown. Ifsqlis null, the driver's #isValid(timeout)is called. - validateConnection(PoolableConnection) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Validates the given connection if it is open.
- validateConnectionFactory(PoolableConnectionFactory) - Static method in class org.apache.commons.dbcp2.BasicDataSource
-
Validates the given factory.
- validateLifetime(PooledObject<?>, Duration) - Static method in class org.apache.commons.dbcp2.Utils
- validateLifetime(PooledObject<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- validateLifetime(PooledObject<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- validateLifetime(PooledObject<PoolableConnection>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- validateObject(UserPassKey, PooledObject<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Validates a pooled connection.
- validateObject(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl
-
My
KeyedPooledObjectFactorymethod for validatingPreparedStatements. - validateObject(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
KeyedPooledObjectFactorymethod for validating pooled statements. - validateObject(PooledObject<PooledConnectionAndInfo>) - Method in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- validateObject(PooledObject<PoolableConnection>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- validatePropertyNames(Reference, Name, List<String>, List<String>) - Method in class org.apache.commons.dbcp2.BasicDataSourceFactory
-
Collects warnings and info messages.
- validatingSet - Variable in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
-
Map of PooledConnections for which close events are ignored.
- validatingSet - Variable in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
-
Map of PooledConnections for which close events are ignored.
- validationPreparedStatement - Variable in class org.apache.commons.dbcp2.PoolableConnection
- validationQuery - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
The SQL query that will be used to validate connections from this pool before returning them to the caller.
- validationQuery - Variable in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- validationQuery - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- validationQuery - Variable in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- validationQuery - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- validationQueryTimeoutDuration - Variable in class org.apache.commons.dbcp2.BasicDataSource
-
Timeout in seconds before connection validation queries fail.
- validationQueryTimeoutDuration - Variable in class org.apache.commons.dbcp2.datasources.CPDSConnectionFactory
- validationQueryTimeoutDuration - Variable in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- validationQueryTimeoutDuration - Variable in class org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory
- validationQueryTimeoutDuration - Variable in class org.apache.commons.dbcp2.PoolableConnectionFactory
- valueOf(String) - Static method in enum org.apache.commons.dbcp2.PoolingConnection.StatementType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.commons.dbcp2.PoolingConnection.StatementType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wasNull() - Method in class org.apache.commons.dbcp2.DelegatingCallableStatement
- wasNull() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- Without JNDI - Search tag in package org.apache.commons.dbcp2.datasources
- Section
- wrap(String) - Static method in class org.apache.commons.dbcp2.ObjectNameWrapper
- wrap(ObjectName) - Static method in class org.apache.commons.dbcp2.ObjectNameWrapper
- wrapResultSet(Connection, ResultSet) - Static method in class org.apache.commons.dbcp2.DelegatingResultSet
-
Wraps the given result set in a delegate.
- wrapResultSet(Statement, ResultSet) - Static method in class org.apache.commons.dbcp2.DelegatingResultSet
-
Wraps the given result set in a delegate.
X
- XAConnectionEventListener() - Constructor for class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory.XAConnectionEventListener
- XAConnectionFactory - Interface in org.apache.commons.dbcp2.managed
-
XAConnectionFactory is an extension of ConnectionFactory used to create connections in a transaction managed environment.
- xaDataSource - Variable in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
XA data source class name
- xaDataSource - Variable in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
- xaDataSourceInstance - Variable in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
-
XA data source instance
- xaResources - Variable in class org.apache.commons.dbcp2.managed.TransactionRegistry
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Utils.closeQuietly(AutoCloseable).