Interface DataSourceRule.ConnectionFactoryContext

    • Method Detail

      • setConnection

        java.sql.Connection setConnection​(java.sql.Connection connection)

        Specifies the Connection.

        Allows for the Connection to cleaned up if further setup is required on the Connection to ensure it is available.

        Parameters:
        connection - Created Connection.
        Returns:
        Connection.