T - return type@FunctionalInterface
public interface TxAction<T>
for usage| Modifier and Type | Method and Description |
|---|---|
T |
execute(org.skife.jdbi.v2.Handle handle)
Called under transaction.
|
T execute(org.skife.jdbi.v2.Handle handle) throws java.lang.Exception
handle - current JDBI handle under unit of workjava.lang.Exception - on errors (used to move exceptions handling outside of action)