Uses of Interface
org.axonframework.common.jdbc.JdbcUtils.SqlFunction
Packages that use JdbcUtils.SqlFunction
-
Uses of JdbcUtils.SqlFunction in org.axonframework.common.jdbc
Methods in org.axonframework.common.jdbc with parameters of type JdbcUtils.SqlFunctionModifier and TypeMethodDescriptionstatic int[]JdbcUtils.executeBatch(Connection connection, JdbcUtils.SqlFunction sqlFunction, Consumer<SQLException> errorHandler) Execute the a batch update or insert statement produced by the givensqlFunction.static <R> RJdbcUtils.executeQuery(Connection connection, JdbcUtils.SqlFunction sqlFunction, JdbcUtils.SqlResultConverter<R> sqlResultConverter, Function<SQLException, RuntimeException> errorHandler) Execute the query given by thesqlFunction.static <R> RJdbcUtils.executeQuery(Connection connection, JdbcUtils.SqlFunction sqlFunction, JdbcUtils.SqlResultConverter<R> sqlResultConverter, Function<SQLException, RuntimeException> errorHandler, boolean closeConnection) Execute the query given by thesqlFunction.static intJdbcUtils.executeUpdate(Connection connection, JdbcUtils.SqlFunction updateFunction, Function<SQLException, RuntimeException> errorHandler) Execute the update statement produced by the givenupdateFunction.static int[]JdbcUtils.executeUpdates(Connection connection, Consumer<SQLException> errorHandler, JdbcUtils.SqlFunction... sqlFunctions) Execute the update statements produced by the givensqlFunctions.