My Oracle Support Banner

Cannot Select Data Over 32k Bytes From LONG Column (Doc ID 2449451.1)

Last updated on OCTOBER 02, 2018

Applies to:

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

Symptoms

From Oracle JDBC Driver 12.1.0.1 or later, cannot select data over 32k bytes from long column if using ResultSet.TYPE_SCROLL_INSENSITIVE or ResultSet.TYPE_SCROLL_SENSITIVE.
If data which is stored in LONG column is more than 32768 bytes, it is truncated to 32767 bytes. If using Oracle JDBC Driver 11.2.0.4 or before, this issue does not occur.

The following is a snippet of sample program:

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!


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