public interface Batch extends Serializable
create.batch(query1,
query2,
query3)
.execute();
create.batch(query)
.bind(valueA1, valueA2)
.bind(valueB1, valueB2)
.execute();
Statement.executeBatch()
Modifier and Type | Method and Description |
---|---|
int[] |
execute()
Execute the batch operation.
|
int |
size()
Get the number of executed queries in this batch operation
|
int[] execute() throws DataAccessException
DataAccessException
- if something went wrong executing the queryStatement.executeBatch()
int size()
Copyright © 2017. All Rights Reserved.