create.batch(query1,
query2,
query3)
.execute();
create.batch(query)
.bind(valueA1, valueA2)
.bind(valueB1, valueB2)
.execute();
Statement#executeBatch()
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull int[] | |
| public @NotNull CompletionStage | |
| public @NotNull CompletionStage | executeAsync(Executor executor)
Execute the query in a new |
| public int |
| execute | back to summary |
|---|---|
| public @NotNull int[] execute() throws DataAccessException Execute the batch operation.
| |
| executeAsync | back to summary |
|---|---|
| public @NotNull CompletionStage Execute the batch operation in a new
The result is asynchronously completed by a task running in an
| |
| executeAsync | back to summary |
|---|---|
| public @NotNull CompletionStage Execute the query in a new
| |
| size | back to summary |
|---|---|
| public int size() Get the number of executed queries in this batch operation | |