Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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
- acceptsURL(String) - Method in class org.apache.commons.dbcp2.PoolingDriver
- 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(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
KeyedPooledObjectFactory
method for activating pooled statements. - activateObject(PooledObject<PoolableConnection>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- 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
- 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.
- 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(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
- 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.datasources.InstanceKeyDataSource
-
Throws an IllegalStateException, if a PooledConnection has already been requested.
- autoCommitFailureClosesAllResultSets() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
B
- BasicDataSource - Class in org.apache.commons.dbcp2
-
Basic implementation of
javax.sql.DataSource
that 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
BasicDataSource
that has been configured based on theRefAddr
values of the specifiedReference
, which must match the names and data types of theBasicDataSource
bean properties with the following exceptions:connectionInitSqls
must be passed to this factory as a single String using semicolon to delimit the statements whereasBasicDataSource
requires 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
- beforeFirst() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
C
- CALLABLE_STATEMENT - Enum constant in enum org.apache.commons.dbcp2.PoolingConnection.StatementType
-
Callable statement.
- cancel() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- cancelRowUpdates() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- checkOpen() - Method in class org.apache.commons.dbcp2.DelegatingConnection
- checkOpen() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- checkOpen() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
- 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
- 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.
- cloneWithoutCredentials(Properties) - Static method in class org.apache.commons.dbcp2.Utils
-
Clones the given
Properties
without 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.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
PreparedStatement
s orCallableStatement
s from the pool, and close the underlying connection. - close() - Method in class org.apache.commons.dbcp2.PoolingDataSource
-
Closes and free all
Connection
s from the pool. - close(AutoCloseable, Consumer<Exception>) - Static method in class org.apache.commons.dbcp2.Utils
-
Closes the given
AutoCloseable
and 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.PerUserPoolDataSourceFactory
-
Closes all pools associated with this class.
- closeAll() - Static method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSourceFactory
-
Closes all pools associated with this class.
- 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.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.
- 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
- ConnectionFactory - Interface in org.apache.commons.dbcp2
-
Abstract factory interface for creating
Connection
s. - connectionReturnedToPool() - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Notification from
PoolableConnection
that we returned to the pool. - Constants - Class in org.apache.commons.dbcp2
-
Constants.
- Constants() - Constructor for class org.apache.commons.dbcp2.Constants
- createArrayOf(String, Object[]) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- createBlob() - Method in class org.apache.commons.dbcp2.DelegatingConnection
- createClob() - Method in class org.apache.commons.dbcp2.DelegatingConnection
- createConnection() - Method in interface org.apache.commons.dbcp2.ConnectionFactory
-
Create a new
Connection
in an implementation specific fashion. - createConnection() - Method in class org.apache.commons.dbcp2.DataSourceConnectionFactory
- createConnection() - Method in class org.apache.commons.dbcp2.DriverConnectionFactory
- createConnection() - Method in class org.apache.commons.dbcp2.DriverManagerConnectionFactory
- createConnection() - Method in class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
- createConnection() - Method in class org.apache.commons.dbcp2.managed.LocalXAConnectionFactory
- createConnection() - Method in interface org.apache.commons.dbcp2.managed.XAConnectionFactory
-
Create a new
Connection
in an implementation specific fashion. - createConnectionFactory() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Creates a JDBC connection factory for this data source.
- createConnectionFactory() - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
- createConnectionPool(PoolableConnectionFactory) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Creates a connection pool for this datasource.
- createDataSource() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
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
BasicDataSource
instance based on the given properties. - createDataSourceInstance() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Creates the actual data source instance.
- createDataSourceInstance() - Method in class org.apache.commons.dbcp2.managed.BasicManagedDataSource
- createKey(String) - 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.PoolingConnection
-
Creates a PStmtKey for 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.PoolingConnection
-
Creates a PStmtKey for 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.PoolingConnection
-
Creates a PStmtKey for 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.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- createKey(String, PoolingConnection.StatementType) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates a PStmtKey for the given arguments.
- 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.
- createStruct(String, Object[]) - Method in class org.apache.commons.dbcp2.DelegatingConnection
D
- dataDefinitionCausesTransactionCommit() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- dataDefinitionIgnoredInTransactions() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- 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.
- DataSourceMXBean - Interface in org.apache.commons.dbcp2
-
Defines the methods that will be made available via JMX.
- 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, 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(TransactionManager, XADataSource, TransactionSynchronizationRegistry) - Constructor for class org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory
-
Creates an DataSourceXAConnectionFactory which uses the specified XADataSource to create database connections.
- 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<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
. - 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
- deserialize(byte[]) - Static method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSourceFactory
-
Deserializes the provided byte array to create an object.
- deserialize(byte[]) - Static method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSourceFactory
-
Deserializes the provided byte array to create an object.
- destroyObject(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
KeyedPooledObjectFactory
method for destroying PoolablePreparedStatements and PoolableCallableStatements. - 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.
- doesMaxRowSizeIncludeBlobs() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- DriverAdapterCPDS - Class in org.apache.commons.dbcp2.cpdsadapter
-
An adapter for JDBC drivers that do not include an implementation of
ConnectionPoolDataSource
, but still include aDriverManager
implementation. - DriverAdapterCPDS() - Constructor for class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Default no-argument constructor for Serialization
- 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.
- 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.
E
- 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.PStmtKey
- evict() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Manually evicts idle connections
- 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
- 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
. - 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 isfalse
when 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_KEYS
orStatement.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
- 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.
- 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.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
Connection
from 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
- 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
- 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.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
- 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
Statement
s created from this connection. - getDefaultQueryTimeoutDuration() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Gets the default query timeout that will be used for
Statement
s 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.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
- getDelegateInternal() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Gets the delegate connection.
- 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.DelegatingConnection
-
If my underlying
Connection
is not aDelegatingConnection
, returns it, otherwise recursively invokes this method on my delegate. - getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
-
If my underlying
ResultSet
is not aDelegatingResultSet
, returns it, otherwise recursively invokes this method on my delegate. - getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
-
If my underlying
ResultSet
is not aDelegatingResultSet
, returns it, otherwise recursively invokes this method on my delegate. - getInnermostDelegate() - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
If my underlying
Statement
is not aDelegatingStatement
, returns it, otherwise recursively invokes this method on my delegate. - getInnermostDelegate() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
- getInnermostDelegateInternal() - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Although this method is public, it is part of the internal API and should not be used by clients.
- getInstanceKey() - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
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
- 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.
- 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
maxOpenPreparedStatements
property. - 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.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
BasicDataSource
instance. - getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Implements
ObjectFactory
to create an instance of this class - getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSourceFactory
-
Implements ObjectFactory to create an instance of SharedPoolDataSource or PerUserPoolDataSource
- getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSourceFactory
-
Implements ObjectFactory to create an instance of SharedPoolDataSource or PerUserPoolDataSource
- 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.
- getPasswordCharArray() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Gets the value of password for the default user.
- 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.
- getPool() - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Returns the
ObjectPool
in whichConnection
s are pooled. - getPool() - Method in class org.apache.commons.dbcp2.PoolingDataSource
- getPooledConnection() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Attempts to establish a database connection using the default user and password.
- 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
- 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
- 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
- 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
PerUserPoolDataSource
Reference
. - getReference() - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Creates a new
Reference
to 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_ONLY
orResultSet.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
ResultSet
constants:ResultSet.HOLD_CURSORS_OVER_COMMIT
orResultSet.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
. - 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
- 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.
- 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.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.
- 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.PStmtKey
I
- initializeConnection(Connection) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- innermostDelegateEquals(Connection) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Compares innermost delegate to the given connection.
- insertRow() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- insertsAreDetected(int) - Method in class org.apache.commons.dbcp2.DelegatingDatabaseMetaData
- InstanceKeyDataSource - Class in org.apache.commons.dbcp2.datasources
-
The base class for
SharedPoolDataSource
andPerUserPoolDataSource
. - InstanceKeyDataSource() - Constructor for class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Default no-arg constructor for Serialization.
- invalidateConnection(Connection) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Manually invalidates a connection, effectively requesting the pool to try to close it, remove it from the pool and reclaim pool capacity.
- invalidateConnection(Connection) - Method in class org.apache.commons.dbcp2.PoolingDriver
-
Invalidates the given connection.
- IS_SECURITY_ENABLED - Static variable in class org.apache.commons.dbcp2.Utils
-
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.DriverAdapterCPDS
-
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
- 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.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.
- 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.
- isFirst() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- isLast() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- isPoolable() - Method in class org.apache.commons.dbcp2.DelegatingStatement
- isPoolPreparedStatements() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Returns true if we are pooling statements.
- isPoolPreparedStatements() - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
Whether to toggle the pooling of
PreparedStatement
s - 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.
- 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
- JNDI - Search tag in package org.apache.commons.dbcp2.datasources
- Section
K
- KEY_PASSWORD - Static variable in class org.apache.commons.dbcp2.Constants
-
JDBC properties and URL key for passwords.
- KEY_USER - Static variable in class org.apache.commons.dbcp2.Constants
-
JDBC properties and URL key for users.
L
- last() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- 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
- 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.
M
- MAJOR_VERSION - Static variable in class org.apache.commons.dbcp2.PoolingDriver
- 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(PStmtKey) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
KeyedPooledObjectFactory
method for creatingPoolablePreparedStatement
s orPoolableCallableStatement
s. - 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.
- 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
- nativeSQL(String) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- next() - Method in class org.apache.commons.dbcp2.DelegatingResultSet
- 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.
- 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
O
- 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 olderDriver
based JDBC implementations. - org.apache.commons.dbcp2.datasources - package org.apache.commons.dbcp2.datasources
-
This package contains two DataSources:
PerUserPoolDataSource
andSharedPoolDataSource
which provide a database connection pool. - org.apache.commons.dbcp2.managed - package org.apache.commons.dbcp2.managed
-
This package provides support for pooling of ManagedConnections.
- 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
- 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(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.PoolingConnection
- passivateObject(PooledObject<PoolableConnection>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- PerUserPoolDataSource - Class in org.apache.commons.dbcp2.datasources
-
A pooling
DataSource
appropriate 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
SharedPoolDataSource
s - PerUserPoolDataSourceFactory() - Constructor for class org.apache.commons.dbcp2.datasources.PerUserPoolDataSourceFactory
- PoolableCallableStatement - Class in org.apache.commons.dbcp2
-
A
DelegatingCallableStatement
that cooperates withPoolingConnection
to implement a pool ofCallableStatement
s. - 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
ObjectPool
when 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
PooledObjectFactory
that createsPoolableConnection
s. - 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
PoolableConnection
instances. - 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
PoolableConnectionFactory
that createsPoolableManagedConnection
s. - 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
DelegatingPreparedStatement
that cooperates withPoolingConnection
to implement a pool ofPreparedStatement
s. - PoolablePreparedStatement(PreparedStatement, K, KeyedObjectPool<K, PoolablePreparedStatement<K>>, DelegatingConnection<?>) - Constructor for class org.apache.commons.dbcp2.PoolablePreparedStatement
-
Constructs a new instance.
- PoolingConnection - Class in org.apache.commons.dbcp2
-
A
DelegatingConnection
that poolsPreparedStatement
s. - 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.
- PoolingDriver - Class in org.apache.commons.dbcp2
- PoolingDriver() - Constructor for class org.apache.commons.dbcp2.PoolingDriver
-
Constructs a new driver with
accessToUnderlyingConnectionAllowed
enabled. - PoolingDriver(boolean) - Constructor for class org.apache.commons.dbcp2.PoolingDriver
-
For unit testing purposes.
- pools - Static variable in class org.apache.commons.dbcp2.PoolingDriver
-
The map of registered pools.
- 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.DelegatingConnection
- prepareCall(String) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
CallableStatement
from the 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
CallableStatement
from the 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
CallableStatement
from 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.DelegatingConnection
- prepareStatement(String) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
PreparedStatement
from the 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.DelegatingConnection
- prepareStatement(String, int[]) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
Creates or obtains a
PreparedStatement
from the 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
PreparedStatement
from the pool. - 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
PreparedStatement
from the pool. - 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
PreparedStatement
from 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
- PStmtKey - Class in org.apache.commons.dbcp2
-
A key uniquely identifying
PreparedStatement
s. - 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, 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
- 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.
R
- 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.
- 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, 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
- removeConnectionProperty(String) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Removes a custom connection property.
- 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.
- restart() - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Restarts the datasource.
- restart() - Method in interface org.apache.commons.dbcp2.DataSourceMXBean
- 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.
- 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
- 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.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 isfalse
when 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
PoolableConnectionFactory.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
- 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
Connection
s. - 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.
- 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
Connection
s - 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
Connection
s - 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
Statement
s created from this connection. - setDefaultQueryTimeout(Duration) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Sets the default query timeout that will be used for
Statement
s 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
Connection
s - 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
Connection
s - 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
Connection
s - setDelegate(C) - Method in class org.apache.commons.dbcp2.DelegatingConnection
-
Sets my delegate.
- setDelegate(Statement) - Method in class org.apache.commons.dbcp2.DelegatingStatement
-
Sets my delegate.
- setDescription(String) - Method in class org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS
-
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.
- 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.
- 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.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.InstanceKeyDataSource
-
Sets the maximum permitted lifetime of a connection.
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Deprecated.
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
-
Deprecated.
- setMaxConnLifetimeMillis(long) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Deprecated.
- 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
maxOpenPreparedStatements
property. - 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.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.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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - setPerUserMaxWaitMillis(String, Long) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
-
Deprecated.
- 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - setPerUserTimeBetweenEvictionRunsMillis(String, Long) - Method in class org.apache.commons.dbcp2.datasources.PerUserPoolDataSource
- setPool(ObjectPool<PoolableConnection>) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
-
Sets the
ObjectPool
in which to poolConnection
s. - 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
PreparedStatement
s - setPoolStatements(boolean) - Method in class org.apache.commons.dbcp2.PoolableConnectionFactory
- setQueryTimeout(int) - Method in class org.apache.commons.dbcp2.DelegatingStatement
- setReadOnly(boolean) - Method in class org.apache.commons.dbcp2.DelegatingConnection
- setReadOnly(boolean) - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
- setReadOnly(boolean) - Method in interface org.apache.commons.dbcp2.PoolableConnectionMXBean
- setRef(int, Ref) - Method in class org.apache.commons.dbcp2.DelegatingPreparedStatement
- 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.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
testOnReturn
property. - setTestWhileIdle(boolean) - Method in class org.apache.commons.dbcp2.BasicDataSource
-
Sets the
testWhileIdle
property. - 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
validate
Connection
s. - 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
- 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.
- SharedPoolDataSource - Class in org.apache.commons.dbcp2.datasources
-
A pooling
DataSource
appropriate for deployment within J2EE environment. - SharedPoolDataSource() - Constructor for class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
-
Default no-argument constructor for Serialization
- SharedPoolDataSourceFactory - Class in org.apache.commons.dbcp2.datasources
-
A JNDI ObjectFactory which creates
SharedPoolDataSource
s - SharedPoolDataSourceFactory() - Constructor for class org.apache.commons.dbcp2.datasources.SharedPoolDataSourceFactory
- 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.
- 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.
T
- testCPDS(String, String) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- toCharArray(String) - Static method in class org.apache.commons.dbcp2.Utils
-
Converts the given String to a char[].
- 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.datasources.InstanceKeyDataSource
- 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.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.
- toStringFields(StringBuilder) - Method in class org.apache.commons.dbcp2.datasources.InstanceKeyDataSource
- toStringFields(StringBuilder) - Method in class org.apache.commons.dbcp2.datasources.SharedPoolDataSource
- transactionComplete() - Method in class org.apache.commons.dbcp2.managed.ManagedConnection
-
Completes the transaction.
- 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.
- 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.
U
- 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
. - 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
- 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
- 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
- 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
- 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.
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) istrue
and this connection has previously thrown a fatal disconnection exception, aSQLException
is thrown. Ifsql
is 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
- validateObject(PStmtKey, PooledObject<DelegatingPreparedStatement>) - Method in class org.apache.commons.dbcp2.PoolingConnection
-
KeyedPooledObjectFactory
method for validating pooled statements. - validateObject(PooledObject<PoolableConnection>) - Method 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
- 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
- XAConnectionFactory - Interface in org.apache.commons.dbcp2.managed
-
XAConnectionFactory is an extension of ConnectionFactory used to create connections in a transaction managed environment.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Utils.closeQuietly(AutoCloseable)
.