Oracle Solution for Error ora-32131

Solution for Oracle Error ORA-32131

ORA-32131: bind data type cannot be changed

What triggered 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.

What should we do to fix it:

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.