use of org.jooq.Batch in project collect by openforis.
the class RecordDao method execute.
public void execute(List<CollectStoreQuery> queries) {
List<Query> internalQueries = new ArrayList<Query>(queries.size());
for (CollectStoreQuery recordStoreQuery : queries) {
internalQueries.add(recordStoreQuery.getInternalQuery());
}
Batch batch = dsl().batch(internalQueries);
batch.execute();
}
Aggregations