Package org.sql2o

Interface StatementRunnable


public interface StatementRunnable
Represents a method with a Connection and an optional argument. Implementations of this interface be used as a parameter to one of the Sql2o.runInTransaction overloads, to run code safely in a transaction.
  • Method Summary

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