Package org.jdbi.v3.core.statement
Interface Cleanable
-
- All Superinterfaces:
java.lang.AutoCloseable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Cleanable extends java.lang.AutoCloseableCleans up some JDBC resource e.g. after completing execution of a SQL statement. Arguments, mappers, and other Jdbi interface implementations that allocate database resources should register a Cleanable to ensure that resources are freed after database operations are completed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()
-