11.2.0.2 Driver Fails With java.lang.ClassCastException When Retrieving XMLTYPE (Doc ID 1306065.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

After upgrading the JDBC driver from 11.2.0.1 to 11.2.0.2, the following error is encountered when retrieving objects of type XMLTYPE:

java.lang.IllegalArgumentException: java.lang.ClassCastException


Cause

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