Module org.jooq
Package org.jooq

Interface CloseableResultQuery<R extends Record>

All Superinterfaces:
Attachable, AttachableQueryPart, AutoCloseable, CloseableQuery, Fields, Flow.Publisher<R>, Iterable<R>, Publisher<R>, org.reactivestreams.Publisher<R>, Query, QueryPart, ResultQuery<R>, Serializable, Statement

public interface CloseableResultQuery<R extends Record> extends ResultQuery<R>, CloseableQuery
A ResultQuery that holds a reference to the underlying PreparedStatement without closing it, for reuse.

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

Lukas Eder