Driver Fails With java.lang.ClassCastException When Retrieving XMLTYPE

(Doc ID 1306065.1)

Last updated on MARCH 08, 2017

Applies to:

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


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

java.lang.IllegalArgumentException: java.lang.ClassCastException


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