站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

org.springframework.jdbc.datasource (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


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.
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 a plain old JDBC Driver via bean properties, and returning a new Connection for 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.
SingleConnectionDataSource Implementation of SmartDataSource that wraps a single 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-2007 The Spring Framework.