My Oracle Support Banner

Fetching CLOB From an XML Object Shows a NULL Character at the LOB Prefetch Boundary (Doc ID 1547905.1)

Last updated on MARCH 26, 2019

Applies to:

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

Symptoms

JDBC programs that read an XMLType object from a table using the ResultSet.getString() method receive a NULL character at the 4000th byte.  This causes XML file corruption or truncation.

This behavior appears to manifest with the use of some character sets.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.