public final class IteratorImpl extends java.lang.Object implements HibernateIterator
| Constructor and Description |
|---|
IteratorImpl(java.sql.ResultSet rs,
java.sql.PreparedStatement ps,
EventSource sess,
boolean readOnly,
Type[] types,
java.lang.String[][] columnNames,
HolderInstantiator holderInstantiator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the Hibernate query result iterator
|
boolean |
hasNext() |
java.lang.Object |
next() |
void |
remove() |
public IteratorImpl(java.sql.ResultSet rs,
java.sql.PreparedStatement ps,
EventSource sess,
boolean readOnly,
Type[] types,
java.lang.String[][] columnNames,
HolderInstantiator holderInstantiator)
throws HibernateException,
java.sql.SQLException
HibernateExceptionjava.sql.SQLExceptionpublic void close()
throws JDBCException
HibernateIteratorclose in interface java.lang.AutoCloseableclose in interface HibernateIteratorJDBCException - Indicates a problem releasing the underlying JDBC resources.public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
throws HibernateException
next in interface java.util.IteratorHibernateExceptionpublic void remove()
remove in interface java.util.IteratorCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.