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
-
Method Summary
Methods inherited from class org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
getTransactionAwareConnectionProxy, setLazyTransactionalConnections, setReobtainTransactionalConnections, shouldObtainFixedConnection
Methods 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:
getConnection
in interfaceDataSource
- Overrides:
getConnection
in classorg.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
- Throws:
SQLException
-
toString
-
getInfo
-