Oracle Error ORA-32131: bind data type cannot be changed

Oracle Error Message

ORA-32131: bind data type cannot be changed

Reason for the Error

The setXXX method is called again with a different data type than originally specified, or the setXXX method is called for a subsequent iteration without being called before the first iteration.

Solution

Call the setXXX method with the same data type as done before the first iteration. If no setXXX method was called for this parameter postion the first iteration, then make sure that a setXXX method is called before the first addIteration method is called.