My Oracle Support Banner

Java.lang.ClassCastException: Javax.sql.rowset.serial.SerialClob Cannot Be Cast To Oracle.sql.CLOB Is Reported While Passing A SerialClob Object As Parameter In The setClob Method Of A Statement (Doc ID 2024807.1)

Last updated on AUGUST 01, 2023

Applies to:

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


When attempting to insert a Clob into the database using the next code and JDBC


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

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