The Spring Framework

Package org.springframework.jdbc.datasource

Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations.

See:
          Description

Interface Summary
ConnectionHandle Simple interface to be implemented by handles for a JDBC Connection.
ConnectionProxy Subinterface of Connection to be implemented by Connection proxies.
SmartDataSource Extension of the javax.sql.DataSource interface, to be implemented by special DataSources that return JDBC Connections in an unwrapped fashion.
 

Class Summary
AbstractDataSource Abstract base class for Spring's DataSource implementations, taking care of the padding.
AbstractDriverBasedDataSource Abstract base class for JDBC DataSource implementations that operate on a JDBC Driver.
ConnectionHolder Connection holder, wrapping a JDBC Connection.
DataSourceTransactionManager PlatformTransactionManager implementation for a single JDBC DataSource.
DataSourceUtils Helper class that provides static methods for obtaining JDBC Connections from a DataSource.
DelegatingDataSource JDBC DataSource implementation that delegates all calls to a given target DataSource.
DriverManagerDataSource Simple implementation of the standard JDBC DataSource interface, configuring the plain old JDBC DriverManager via bean properties, and returning a new Connection from every getConnection call.
IsolationLevelDataSourceAdapter An adapter for a target DataSource, applying the current Spring transaction's isolation level (and potentially specified user credentials) to every getConnection call.
JdbcTransactionObjectSupport Convenient base class for JDBC-aware transaction objects.
LazyConnectionDataSourceProxy Proxy for a target DataSource, fetching actual JDBC Connections lazily, i.e. not until first creation of a Statement.
SimpleConnectionHandle Simple implementation of the ConnectionHandle interface, containing a given JDBC Connection.
SimpleDriverDataSource Simple implementation of the standard JDBC DataSource interface, configuring a plain old JDBC Driver via bean properties, and returning a new Connection from every getConnection call.
SingleConnectionDataSource Implementation of SmartDataSource that wraps a single JDBC Connection which is not closed after use.
TransactionAwareDataSourceProxy Proxy for a target JDBC DataSource, adding awareness of Spring-managed transactions.
UserCredentialsDataSourceAdapter An adapter for a target JDBC DataSource, applying the specified user credentials to every standard getConnection() call, implicitly invoking getConnection(username, password) on the target.
WebSphereDataSourceAdapter DataSource implementation that delegates all calls to a WebSphere target DataSource, typically obtained from JNDI, applying a current isolation level and/or current user credentials to every Connection obtained from it.
 

Package org.springframework.jdbc.datasource Description

Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations.


The Spring Framework

Copyright © 2002-2008 The Spring Framework.