org.hibernate.impl
Class IteratorImpl
java.lang.Object
org.hibernate.impl.IteratorImpl
- All Implemented Interfaces:
- java.util.Iterator, HibernateIterator
public final class IteratorImpl
- extends java.lang.Object
- implements HibernateIterator
An implementation of java.util.Iterator that is
returned by iterate() query execution methods.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IteratorImpl
public IteratorImpl(java.sql.ResultSet rs,
java.sql.PreparedStatement ps,
EventSource sess,
Type[] types,
java.lang.String[][] columnNames,
HolderInstantiator holderInstantiator)
throws HibernateException,
java.sql.SQLException
- Throws:
HibernateException
java.sql.SQLException
close
public void close()
throws JDBCException
- Specified by:
close
in interface HibernateIterator
- Throws:
JDBCException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
throws HibernateException
- Specified by:
next
in interface java.util.Iterator
- Throws:
HibernateException
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
Copyright © 2008 Hibernate.org. All Rights Reserved.