Class QueryIterator<T>

java.lang.Object
nl.vpro.hibernate.ScrollableResultsIterator<T>
nl.vpro.hibernate.QueryIterator<T>
All Implemented Interfaces:
AutoCloseable, Iterator<T>, nl.vpro.util.CloseableIterator<T>

public class QueryIterator<T> extends ScrollableResultsIterator<T>
Executes a Criteria and makes the result accessible as a CloseableIterator.
Since:
1.63
Author:
Michiel Meeuwissen
  • Constructor Details

    • QueryIterator

      public QueryIterator(org.hibernate.Query criteria, Function<org.hibernate.ScrollableResults,T> adapter)