Interface HibernateIterator

  • All Superinterfaces:
    java.lang.AutoCloseable,, java.util.Iterator

    public interface HibernateIterator
    extends java.util.Iterator, java.lang.AutoCloseable,
    Hibernate-specific iterator that may be closed
    See Also:
    Query.iterate(), Hibernate.close(java.util.Iterator)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Close the Hibernate query result iterator
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next, remove
    • Method Detail

      • close

        void close()
            throws JDBCException
        Close the Hibernate query result iterator
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface
        JDBCException - Indicates a problem releasing the underlying JDBC resources.