public final class IteratorImpl extends Object implements HibernateIterator
Constructor and Description |
---|
IteratorImpl(ResultSet rs,
PreparedStatement ps,
EventSource sess,
boolean readOnly,
Type[] types,
String[][] columnNames,
HolderInstantiator holderInstantiator) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the Hibernate query result iterator
|
boolean |
hasNext() |
Object |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public IteratorImpl(ResultSet rs, PreparedStatement ps, EventSource sess, boolean readOnly, Type[] types, String[][] columnNames, HolderInstantiator holderInstantiator) throws HibernateException, SQLException
HibernateException
SQLException
public void close() throws JDBCException
HibernateIterator
close
in interface Closeable
close
in interface AutoCloseable
close
in interface HibernateIterator
JDBCException
- Indicates a problem releasing the underlying JDBC resources.public Object next() throws HibernateException
next
in interface Iterator
HibernateException
Copyright © 2017 JBoss by Red Hat. All rights reserved.