- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An operation that can run code and statements, buffering all consecutive and
identical SQL strings in a
BatchedPreparedStatement
, delaying their
execution.- Author:
- Lukas Eder
- See Also:
-
Method Summary
-
Method Details
-
run
Run statements.Implementations may freely use the argument
Configuration
to run statements against the database.- Parameters:
configuration
- The configuration configured with aBatchedConnection
.- Throws:
Throwable
- Any exception, includingSQLException
, that will be propagated as an uncheckedDataAccessException
.- See Also:
-