Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations.
ClassDescriptionAbstract base class for Spring's
DataSourceimplementations, taking care of the padding.Simple interface to be implemented by handles for a JDBC Connection.Resource holder wrapping a JDBC
Connectionto be implemented by Connection proxies.Helper class that provides static methods for obtaining JDBC
Connections from a
DataSource.An adapter for a target
DataSource, applying the current Spring transaction's isolation level (and potentially specified user credentials) to every
getConnectioncall.Convenient base class for JDBC-aware transaction objects.Proxy for a target DataSource, fetching actual JDBC Connections lazily, i.e.Simple implementation of the
ConnectionHandleinterface, containing a given JDBC Connection.Implementation of
SmartDataSourcethat wraps a single JDBC Connection which is not closed after use.Extension of the
javax.sql.DataSourceinterface, to be implemented by special DataSources that return JDBC Connections in an unwrapped fashion.Proxy for a target JDBC
DataSource, adding awareness of Spring-managed transactions.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.