|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Batch
Represents a batch of arbitrary statements to be executed together, see JDBC batched statements
Method Summary | |
---|---|
Batch |
add(java.lang.String statement)
A statement to be executed as part of the batch |
Batch |
addAll(java.util.Collection statements)
Add statements en masse |
int[] |
execute()
Execute all of the statements in this batch and clear the batch |
Method Detail |
---|
Batch add(java.lang.String statement)
statement
- direct sql, no parameters, no named statementsBatch addAll(java.util.Collection statements)
statements
- Collectionint[] execute() throws DBIException
DBIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |