Interface HostConnectionAccessor


public interface HostConnectionAccessor
Interface allowing SAL to execute a callback with a Connection, in the context of a transaction. Host must export this. Host must implement this; may use com.atlassian.sal.spring.connection.SpringHostConnectionAccessor
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    <A> A
    execute(boolean readOnly, boolean newTransaction, com.atlassian.sal.api.rdbms.ConnectionCallback<A> callback)
    Execute a callback which is supplied a Connection, within a transaction.
    io.atlassian.fugue.Option<String>
    Returns the configured schema name (if any), for connections provided during execute(boolean, boolean, ConnectionCallback)