com.ibm.websphere.sdo.mediator.jdbc

Interface ConnectionWrapperFactory



  • public interface ConnectionWrapperFactory
    A ConnectionWrapperFactory is used to create a new ConnectionWrapper object.
    • Field Detail

    • Method Detail

      • createConnectionWrapper

        ConnectionWrapper createConnectionWrapper(java.sql.Connection connection)
        Create a connection wrapper based on the provided Connection instance. This wrapper indicates to the JDBC Mediator that it is to be actively managed. That is transactions will be committed or rolled back based on the success status of operations applied the connection
        Parameters:
        connection -
        Returns:
        the connection wrapper
      • createPassiveConnectionWrapper

        ConnectionWrapper createPassiveConnectionWrapper(java.sql.Connection connection)
        Create a connection wrapper based on the provided Connection instance. This wrapper indicates to the JDBC Mediator that it is NOT to be managed. That is transactions will be not committed or rolled back based on the success status of operations applied the connection. The mediator assumes that the client is managing the transaction.
        Parameters:
        connection -
        Returns:
        the connection wrapper
IBM WebSphere Application ServerTM
Release 8.5