Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getAllRowsInRange and setRangeSize

User9954330-OracleJun 3 2010 — edited Jun 4 2010
All,
We are seeing getAllRowsInRange method returning fewer rows than range size.

In the code snippet below

DCIteratorBinding iteratorBinding = getPagingIteratorBinding();
iteratorBinding.setRangeSize(results.size());
iteratorBinding.executeQuery();
iteratorBinding.setRangeSize(results.size());
Row[] rows = iteratorBinding.getAllRowsInRange();

There are 28 rows in the results and getAllRowsInRange is returing just 25. The fetch size is set to 25.

What could be the issue? Any help is greatly appreciated.

Thanks,
Rama
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 2 2010
Added on Jun 3 2010
6 comments
3,833 views