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, waitforEachRemainingpublic IteratorImpl(ResultSet rs, PreparedStatement ps, EventSource sess, boolean readOnly, Type[] types, String[][] columnNames, HolderInstantiator holderInstantiator) throws HibernateException, SQLException
HibernateExceptionSQLExceptionpublic void close()
throws JDBCException
HibernateIteratorclose in interface Closeableclose in interface AutoCloseableclose in interface HibernateIteratorJDBCException - Indicates a problem releasing the underlying JDBC resources.public Object next() throws HibernateException
next in interface IteratorHibernateExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.