Module org.jooq
Package org.jooq

Interface CloseableQuery

All Superinterfaces:
Attachable, AttachableQueryPart, AutoCloseable, Query, QueryPart, Serializable, Statement
All Known Subinterfaces:

public interface CloseableQuery extends Query, AutoCloseable
A Query that holds a reference to the underlying PreparedStatement without closing it, for reuse.

It was created via Query.keepStatement(boolean) and must be treated as a resource, e.g. in a try-with-resources statement.

Lukas Eder