Package | Description |
---|---|
org.axonframework.common.jdbc |
Modifier and Type | Method and Description |
---|---|
static int[] |
JdbcUtils.executeBatch(Connection connection,
JdbcUtils.SqlFunction sqlFunction,
Consumer<SQLException> errorHandler)
Execute the a batch update or insert statement produced by the given
sqlFunction . |
static <R> R |
JdbcUtils.executeQuery(Connection connection,
JdbcUtils.SqlFunction sqlFunction,
JdbcUtils.SqlResultConverter<R> sqlResultConverter,
Function<SQLException,RuntimeException> errorHandler)
Execute the query given by the
sqlFunction . |
static int[] |
JdbcUtils.executeUpdates(Connection connection,
Consumer<SQLException> errorHandler,
JdbcUtils.SqlFunction... sqlFunctions)
Execute the update statements produced by the given
sqlFunctions . |
Copyright © 2010–2019. All rights reserved.