Oracle Error ORA-01411: cannot store the length of column in the indicator

Oracle Error Message

ORA-01411: cannot store the length of column in the indicator

Reason for the Error

Tried to fetch a column of size more than 64K and couldn’t store the length of the column in the given indicator of size 2 bytes.

Solution

Use the new bind type with call backs to fetch the long column.