Entering content frame

Function documentation sqlj.runtime.NamedIterator Locate the document in its SAP Library structure

 

sqlj.runtime.NamedIterator extends ResultSetIterator

NamedIterator is an interface implemented by all named iterators declared by SQLJ. All such iterators depend on the name of the columns of the data to which they are bound, as opposed to the order of the columns to which they are bound.

Once next() has returned false, the behavior of any named accessor method is undefined.

Note

In addition to implementing this interface, a class <class name> generated from a named iterator declaration provides a named accessor method for each <java id> appearing in the <java name list> of the iterator declaration that declared the current iterator. Each named accessor method uses as its name an exact copy of its <java id>. The return type of the accessor method is the <java datatype> declared in the <java name list>.
At run time, the result set iterator object is bound to a JDBC
ResultSet. The accessor method of the SQLJ iterator returns the value of the JDBC ResultSetcolumn that has the same name as the accessor method using a case-insensitive comparison.

 

Leaving content frame