Interface ConnectionSource


public interface ConnectionSource
Integration point, exposing the JDBC Connection/Transaction from the host system.
See Also:
  • Method Details

    • isTxBoundConnectionAvailable

      boolean isTxBoundConnectionAvailable()
      Provides an information whether the Transaction bound Connection is available or not.
      Returns:
      true when Tx bound Connection is available, false otherwise.
    • getTxBoundConnection

      Connection getTxBoundConnection() throws SQLException
      Method used to obtain the Transaction bound Connection. It can fail, but only when isTxBoundConnectionAvailable() returns false.
      Returns:
      Tx bound Connection
      Throws:
      SQLException
    • getNonTxBoundConnection

      Connection getNonTxBoundConnection() throws SQLException
      Method used to obtain the NON Transaction bound Connection. It must return the non Tx bound connection even when a Tx bound one is available.
      Returns:
      Non Tx bound Connection
      Throws:
      SQLException