Class TransactionalDbmsSupportAwareDataSourceProxy
java.lang.Object
org.springframework.jdbc.datasource.DelegatingDataSource
org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
org.frankframework.jdbc.datasource.TransactionalDbmsSupportAwareDataSourceProxy
- All Implemented Interfaces:
Wrapper,CommonDataSource,DataSource,org.springframework.beans.factory.InitializingBean
public class TransactionalDbmsSupportAwareDataSourceProxy
extends org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
DataSource that is aware of the database metadata.
Fetches the metadata once and caches them.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
getTransactionAwareConnectionProxy, setLazyTransactionalConnections, setReobtainTransactionalConnections, shouldObtainFixedConnectionMethods inherited from class org.springframework.jdbc.datasource.DelegatingDataSource
afterPropertiesSet, createConnectionBuilder, createShardingKeyBuilder, getConnection, getLoginTimeout, getLogWriter, getParentLogger, getTargetDataSource, isWrapperFor, obtainTargetDataSource, setLoginTimeout, setLogWriter, setTargetDataSource, unwrap
-
Constructor Details
-
TransactionalDbmsSupportAwareDataSourceProxy
-
-
Method Details
-
getMetaData
- Throws:
SQLException
-
getDestinationName
LazyLoaded method. Only populate destinationName if a connection has previously been established and the metadata has been populated. -
getConnection
- Specified by:
getConnectionin interfaceDataSource- Overrides:
getConnectionin classorg.springframework.jdbc.datasource.TransactionAwareDataSourceProxy- Throws:
SQLException
-
toString
-
getInfo
-
getPoolInfo
-