Interface DBAction<T>
-
public interface DBAction<T>Action with database functions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Trun(DBFunctions dbf)
-
-
-
Method Detail
-
run
@Nullable T run(@NotNull DBFunctions dbf) throws DBException
- Parameters:
dbf- database helper object (within a connection).- Returns:
- execution result of generic type.
- Throws:
DBException- when exception occured. All SQL exceptions should be converted into DB ones, seeSQLExceptionConvertor.
-
-