类的使用
org.springframework.jdbc.datasource.DelegatingDataSource
使用DelegatingDataSource的程序包 程序包 说明 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中DelegatingDataSource的使用
org.springframework.jdbc.datasource中DelegatingDataSource的子类 修饰符和类型 类 说明 classIsolationLevelDataSourceAdapterAn adapter for a targetDataSource, applying the current Spring transaction's isolation level (and potentially specified user credentials) to everygetConnectioncall.classLazyConnectionDataSourceProxyProxy for a target DataSource, fetching actual JDBC Connections lazily, i.e. not until first creation of a Statement.classTransactionAwareDataSourceProxyProxy for a target JDBCDataSource, adding awareness of Spring-managed transactions.classUserCredentialsDataSourceAdapterAn adapter for a target JDBCDataSource, applying the specified user credentials to every standardgetConnection()call, implicitly invokinggetConnection(username, password)on the target.classWebSphereDataSourceAdapterDataSourceimplementation that delegates all calls to a WebSphere targetDataSource, typically obtained from JNDI, applying a current isolation level and/or current user credentials to every Connection obtained from it.