public interface StatementRunnableWithResult
Connection
and an optional argument. Implementations of this interface be used as
a parameter to one of the Sql2o.runInTransaction(StatementRunnableWithResult)
Sql2o.runInTransaction} overloads,
to run code safely in a transaction.Modifier and Type | Method and Description |
---|---|
Object |
run(Connection connection,
Object argument) |
Object run(Connection connection, Object argument) throws Throwable
Throwable
Copyright © 2015. All rights reserved.