It can also happen with varchar2 columns. This is pretty reproducible with PreparedStatements through JDBC by simply
- creating a table with a column of varchar2 (20 or any arbitrary length) and
- inserting into the above table with a row containing more than 20 characters
So as above said it can be wrong with types, or column width exceeded.
Also note that as varchar2 allows 4k chars max, the real limit will be 2k for double byte chars
Hope this helps
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…