public interface Sql2oHandler
Modifier and Type | Method and Description |
---|---|
void |
closeSql2o() |
void |
closeSql2o(String datasourceName) |
<R> R |
withSql2o(Sql2oCallback<R> callback) |
<R> R |
withSql2o(String datasourceName,
Sql2oCallback<R> callback) |
@Nullable <R> R withSql2o(@Nonnull Sql2oCallback<R> callback) throws RuntimeSql2oException
RuntimeSql2oException
@Nullable <R> R withSql2o(@Nonnull String datasourceName, @Nonnull Sql2oCallback<R> callback) throws RuntimeSql2oException
RuntimeSql2oException
void closeSql2o()