类的使用
org.springframework.jdbc.datasource.AbstractDataSource
使用AbstractDataSource的程序包 程序包 说明 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.jdbc.datasource中AbstractDataSource的使用
org.springframework.jdbc.datasource中AbstractDataSource的子类 修饰符和类型 类 说明 classAbstractDriverBasedDataSourceAbstract base class for JDBCDataSourceimplementations that operate on a JDBCDriver.classDriverManagerDataSourceSimple implementation of the standard JDBCDataSourceinterface, configuring the plain old JDBCDriverManagervia bean properties, and returning a newConnectionfrom everygetConnectioncall.classSimpleDriverDataSourceSimple implementation of the standard JDBCDataSourceinterface, configuring a plain old JDBCDrivervia bean properties, and returning a newConnectionfrom everygetConnectioncall.classSingleConnectionDataSourceImplementation ofSmartDataSourcethat wraps a single JDBC Connection which is not closed after use.org.springframework.jdbc.datasource.lookup中AbstractDataSource的使用
org.springframework.jdbc.datasource.lookup中AbstractDataSource的子类 修饰符和类型 类 说明 classAbstractRoutingDataSourceAbstractDataSourceimplementation that routesAbstractRoutingDataSource.getConnection()calls to one of various target DataSources based on a lookup key.classIsolationLevelDataSourceRouterDataSource that routes to one of various target DataSources based on the current transaction isolation level.