Normally, a view object instance has a single pointer to a current row. However, you can create additional current row pointers by calling createRowSetIterator(). Pass a unique name into this method. For example, to create a second current row pointer for the view object instance mgrVO, you would use code like the foollowing:
RowSetIterator secondIterator = mgrVO.createRowSetIterator("SecondIterator");
You can then call next(), first(), last(), and previous() on this iterator, just as you would on the view object, for example:
Row secondaryRow;
while (secondIterator.hasNext())
{
secondaryRow = secondIterator.next();
}
Ways to Navigate Through Query Results
About Oracle ADF View Objects
Finding View
Object Instances in the Data Model
Copyright © 1997, 2004, Oracle. All rights reserved.