Package org.fastnate.generator.test
Interface SqlRunnable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Wraps a function that works useing a
JDBC connection.- Author:
- Tobias Liefke
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(Connection connection) Executes the work using the supplied connection.
-
Method Details
-
run
Executes the work using the supplied connection.- Parameters:
connection- The connection on which to perform the work.- Throws:
SQLException- if there is a problem with the work
-