类的使用
org.springframework.jdbc.datasource.AbstractDriverBasedDataSource
使用AbstractDriverBasedDataSource的程序包 程序包 说明 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中AbstractDriverBasedDataSource的使用
org.springframework.jdbc.datasource中AbstractDriverBasedDataSource的子类 修饰符和类型 类 说明 class
DriverManagerDataSource
Simple implementation of the standard JDBCDataSource
interface, configuring the plain old JDBCDriverManager
via bean properties, and returning a newConnection
from everygetConnection
call.class
SimpleDriverDataSource
Simple implementation of the standard JDBCDataSource
interface, configuring a plain old JDBCDriver
via bean properties, and returning a newConnection
from everygetConnection
call.class
SingleConnectionDataSource
Implementation ofSmartDataSource
that wraps a single JDBC Connection which is not closed after use.