Package org.jdbi.v3.sqlobject.statement
Annotation Type BatchChunkSize
Used to control the batch chunk size for sql batch operations.
If this annotation is present the value (or argument value if on
a parameter) will be used as the size for each batch statement to
execute.
-
Optional Element Summary
-
Element Details
-
value
int valueThe batch chunk size. Defaults to -1 which will raise an error, so do not use the default. It is present for when the annotation is used on a parameter, in which case this value will be ignored and the parameter value will be used. The parameter type must be an int (or castable to an int).- Returns:
- the batch chunk size.
- Default:
-1
-