Package | Description |
---|---|
org.axonframework.common.jdbc |
Modifier and Type | Method and Description |
---|---|
static <R> JdbcUtils.SqlResultConverter<List<R>> |
JdbcUtils.listResults(JdbcUtils.SqlResultConverter<R> singleResultConverter)
Create a converter that produces a List of results of type
R from a converter that produces a single
result. |
Modifier and Type | Method and Description |
---|---|
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 <R> R |
JdbcUtils.executeQuery(Connection connection,
JdbcUtils.SqlFunction sqlFunction,
JdbcUtils.SqlResultConverter<R> sqlResultConverter,
Function<SQLException,RuntimeException> errorHandler,
boolean closeConnection)
Execute the query given by the
sqlFunction . |
static <R> JdbcUtils.SqlResultConverter<List<R>> |
JdbcUtils.listResults(JdbcUtils.SqlResultConverter<R> singleResultConverter)
Create a converter that produces a List of results of type
R from a converter that produces a single
result. |
Copyright © 2010–2022. All rights reserved.