If you set the JDBC property "data trucation" to "false" it is ignored for LOB columns.
When executing the attached class LobDataTruncationTest you will get a java.sql.SQLDataException with the sql error code SQL0311.
The insert (2) doesn't work and you will get the exception mentioned above. If the data type of column "remarks" is a VARGRAPHIC or VARCHAR it works.
Log in to post a comment.