Package | Description |
---|---|
org.springframework.jdbc.datasource |
Provides a utility class for easy DataSource access,
a PlatformTransactionManager for a single DataSource,
and various simple DataSource implementations.
|
org.springframework.jdbc.datasource.lookup |
Provides a strategy for looking up JDBC DataSources by name.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDriverBasedDataSource
Abstract base class for JDBC
DataSource implementations
that operate on a JDBC Driver . |
class |
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. |
class |
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. |
class |
SingleConnectionDataSource
Implementation of
SmartDataSource that wraps a single JDBC Connection
which is not closed after use. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRoutingDataSource
Abstract
DataSource implementation that routes AbstractRoutingDataSource.getConnection()
calls to one of various target DataSources based on a lookup key. |
class |
IsolationLevelDataSourceRouter
DataSource that routes to one of various target DataSources based on the
current transaction isolation level.
|