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 Details

    • TransactionalDbmsSupportAwareDataSourceProxy

      public TransactionalDbmsSupportAwareDataSourceProxy(DataSource delegate)
  • Method Details

    • getMetaData

      public Map<String,String> getMetaData() throws SQLException
      Throws:
      SQLException
    • getDestinationName

      @Nullable public String getDestinationName()
      LazyLoaded method. Only populate destinationName if a connection has previously been established and the metadata has been populated.
    • getConnection

      public Connection getConnection() throws SQLException
      Specified by:
      getConnection in interface DataSource
      Overrides:
      getConnection in class org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy
      Throws:
      SQLException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getInfo

      public String getInfo()