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 Subinterface of javax.sql.DataSource, 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 "uninteresting" glue.
ConnectionHolder Connection holder, wrapping a JDBC Connection.
DataSourceTransactionManager PlatformTransactionManager implementation for a single JDBC DataSource.
DataSourceUtils Helper class that provides static methods to obtain JDBC Connections from a DataSource, and to close Connections if necessary.
DelegatingDataSource DataSource implementation that delegates all calls to a given target DataSource.
DriverManagerDataSource Simple implementation of the standard JDBC DataSource interface, configuring a plain old JDBC Driver via bean properties, and returning a new Connection for 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.
SingleConnectionDataSource Implementation of SmartDataSource that wraps a single Connection which is not closed after use.
TransactionAwareDataSourceProxy Proxy for a target DataSource, adding awareness of Spring-managed transactions.
UserCredentialsDataSourceAdapter An adapter for a target DataSource, applying the given user credentials to every standard getConnection() call, that is, implicitly invoking getConnection(username, password) on the target.
 

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.



Copyright (c) 2002-2005 The Spring Framework Project.