# Package org.apache.cayenne.datasource

package org.apache.cayenne.datasource

- Related Packages
  Package
  Description
  org.apache.cayenne
  Contains persistence APIs directly accessible by users.
- Class
  Description
  BadValidationQueryException
  Thrown when the pool fails to validate a fresh connection that is known to be in a good state.
  CayenneDataSource
  An entry point for manually building DataSources.
  CayenneDataSource.Builder
  DataSourceBuilder
  Deprecated, for removal: This API element is subject to removal in a future version.
  in favor of `CayenneDataSource`
  DriverDataSource
  A non-pooling DataSource implementation wrapping a JDBC driver.
  ManagedPoolingDataSource
  A wrapper for `UnmanagedPoolingDataSource` that automatically manages the underlying connection pool size.
  PoolAwareConnection
  A Connection wrapper that interacts with the UnmanagedPoolingDataSource, allowing to recycle connections and track failures.
  PoolingDataSourceBuilder
  Deprecated, for removal: This API element is subject to removal in a future version.
  in favor of `CayenneDataSource`
  PoolingDataSourceParameters
  A collection of pooling parameters used by `UnmanagedPoolingDataSource`.
  UnmanagedPoolingDataSource
  A non-blocking `DataSource` with a pool of connections.
  UnmanagedPoolingDataSource.ConnectionUnavailableException
  An exception indicating that a connection request waiting in the queue timed out and was unable to obtain a connection.