Oracle Error ORA-32106: array fetch not allowed without setBuffer on all columns

Oracle Error Message

ORA-32106: array fetch not allowed without setBuffer on all columns

Reason for the Error

The setBuffer method was not called for all column postions and the next method was called to fetch more than one row.

Solution

Call the setBuffer method for all column positions if next is to to be called to fetch more than one row.