Package org.springframework.jdbc.datasource
@NonNullApi
@NonNullFields
package org.springframework.jdbc.datasource
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
DataSource
implementations, taking care of the padding.Abstract base class for JDBCDataSource
implementations that operate on a JDBCDriver
.Simple interface to be implemented by handles for a JDBC Connection.Resource holder wrapping a JDBCConnection
.Subinterface ofConnection
to be implemented by Connection proxies.PlatformTransactionManager
implementation for a single JDBCDataSource
.Helper class that provides static methods for obtaining JDBC Connections from aDataSource
.JDBCDataSource
implementation that delegates all calls to a given targetDataSource
.Simple implementation of the standard JDBCDataSource
interface, configuring the plain old JDBCDriverManager
via bean properties, and returning a newConnection
from everygetConnection
call.An adapter for a targetDataSource
, applying the current Spring transaction's isolation level (and potentially specified user credentials) to everygetConnection
call.Convenient base class for JDBC-aware transaction objects.Proxy for a target DataSource, fetching actual JDBC Connections lazily, i.e.Simple implementation of theConnectionHandle
interface, containing a given JDBC Connection.Simple implementation of the standard JDBCDataSource
interface, configuring a plain old JDBCDriver
via bean properties, and returning a newConnection
from everygetConnection
call.Implementation ofSmartDataSource
that wraps a single JDBC Connection which is not closed after use.Extension of thejavax.sql.DataSource
interface, to be implemented by special DataSources that return JDBC Connections in an unwrapped fashion.Proxy for a target JDBCDataSource
, adding awareness of Spring-managed transactions.An adapter for a target JDBCDataSource
, applying the specified user credentials to every standardgetConnection()
call, implicitly invokinggetConnection(username, password)
on the target.