Package org.sql2o

Interface StatementRunnableWithResult<V>


public interface StatementRunnableWithResult<V>
Represents a method with a Connection and an optional argument. Implementations of this interface be used as a parameter to one of the
invalid reference
Sql2o#runInTransaction(StatementRunnableWithResult<V>)
Sql2o.runInTransaction} overloads, to run code safely in a transaction.
  • Method Summary

    Modifier and Type
    Method
    Description
    run(Connection connection, Object argument)