There was a buffer overflow when reading CLOBs which contained multi byte characters. clobCal.length() does not return the number of bytes but the number of characters. I seems to be no way to determine actual number of bytes that a CLOB character can contain so I used the maximum (4 bytes)
There was a buffer overflow when reading CLOBs which contained multi byte characters.
clobCal.length()
does not return the number of bytes but the number of characters. I seems to be no way to determine actual number of bytes that a CLOB character can contain so I used the maximum (4 bytes)