Oracle 12 Driver GetString Returns An Incorrect Value For CLOBs Of Length 8000.

(Doc ID 2009595.1)

Last updated on APRIL 26, 2018

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


Oracle JDBC/thin 12.1 drivers  do not retrieve a CLOB value correctly when the size is exactly 8000 and the character set is a UTF-8 character set such as AL32UTF8.

Typically when the issue occurs you will find expected NULL characters inserted in the data.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms