程序包的使用
org.springframework.jdbc.datasource
使用org.springframework.jdbc.datasource的程序包 程序包 说明 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.org.springframework.orm.jpa Package providing integration of JPA (Java Persistence API) with Spring concepts.org.springframework.orm.jpa.vendor Support classes for adapting to specific JPA vendors.org.springframework.jdbc.datasource使用的org.springframework.jdbc.datasource中的类 类 说明 AbstractDataSource Abstract base class for Spring'sDataSource
implementations, taking care of the padding.AbstractDriverBasedDataSource Abstract base class for JDBCDataSource
implementations that operate on a JDBCDriver
.ConnectionHandle Simple interface to be implemented by handles for a JDBC Connection.ConnectionHolder Resource holder wrapping a JDBCConnection
.DelegatingDataSource JDBCDataSource
implementation that delegates all calls to a given targetDataSource
.DriverManagerDataSource Simple implementation of the standard JDBCDataSource
interface, configuring the plain old JDBCDriverManager
via bean properties, and returning a newConnection
from everygetConnection
call.IsolationLevelDataSourceAdapter An adapter for a targetDataSource
, applying the current Spring transaction's isolation level (and potentially specified user credentials) to everygetConnection
call.SmartDataSource Extension of thejavax.sql.DataSource
interface, to be implemented by special DataSources that return JDBC Connections in an unwrapped fashion.UserCredentialsDataSourceAdapter An adapter for a target JDBCDataSource
, applying the specified user credentials to every standardgetConnection()
call, implicitly invokinggetConnection(username, password)
on the target.org.springframework.jdbc.datasource.lookup使用的org.springframework.jdbc.datasource中的类 类 说明 AbstractDataSource Abstract base class for Spring'sDataSource
implementations, taking care of the padding.org.springframework.orm.jpa使用的org.springframework.jdbc.datasource中的类 类 说明 ConnectionHandle Simple interface to be implemented by handles for a JDBC Connection.org.springframework.orm.jpa.vendor使用的org.springframework.jdbc.datasource中的类 类 说明 ConnectionHandle Simple interface to be implemented by handles for a JDBC Connection.