- Enclosing interface:
SqlTemplate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A listener for batch events within a SQL query context.
When a batch of positional parameters is about to be processed, the onBatch(List) method is called
with the current list of parameters.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonBatch(List<SqlTemplate.PositionalParameter> parameters) Invoked when a new batch of positional parameters is processed.
-
Method Details
-
onBatch
Invoked when a new batch of positional parameters is processed.Implementations can inspect, transform, or validate the parameters before they are executed.
- Parameters:
parameters- the list of positional parameters in this batch.
-