[oracle] ORA-01461: can bind a LONG value only for insert into a LONG column-Occurs when querying

Kiran's answer is definetely the answer for my case.

In code part I split string to 4000 char strings and try to put them in to db.

Explodes with this error.

The cause of the error is using utf chars, those counts 2 bytes each. Even I truncate to 4000 chars in code(sth. like String.Take(4000)), oracle considers 4001 when string contains 'รถ' or any other non-eng(non ascii to be precise, which are represented with two or bytes in utf8) characters.