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, setReobtainTransactionalConnections, shouldObtainFixedConnection
Methods inherited from class org.springframework.jdbc.datasource.DelegatingDataSource
afterPropertiesSet, getConnection, getLoginTimeout, getLogWriter, getParentLogger, getTargetDataSource, isWrapperFor, obtainTargetDataSource, setLoginTimeout, setLogWriter, setTargetDataSource, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder
-
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
-