ResultSetIterator Class
- public class ResultSetIterator
extends Object
implements Iterator
Implements the java.util.Iterator interface for a JDBC ResultSet.
A more interesting (and useful) interface would implement the java.util.ListIterator interface
-
Hierarchy
-
Object
ResultSetIterator
-
All Implemented Interfaces
-
Iterator
public boolean |
-
hasNext ()
|
public Object |
-
next ()
- Returns the next element in the interation.
|
public void |
-
remove ()
- This operation is unsupported
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BELONGING_TYPE
public static final int BELONGING_TYPE
EJB_PK_TYPE
public static final int EJB_PK_TYPE
ResultSetIterator
public ResultSetIterator(String
resultClassName,
int resultClassType,
Vector
fieldMap,
PreparedStatement
preparedStatement,
ResultSet
resultSet)
hasNext() Method
public boolean hasNext()
next() Method
public Object
next()
Returns the next element in the interation.
remove() Method
public void remove()
This operation is unsupported