java.sql.SQLException: ORA-24813: cannot send or receive an unsupported LOB

I am getting an error "java.sql.SQLException: ORA-24813: cannot send or receive an unsupported LOB" when my java application tries to insert or update a XML into a CLOB Oracle column.

My application uses:

Oracle 10g Database.
Java 6.

This is happening only intermittently. It is working fine other users on the same server so it doesn't seems to be an issue with Oracle client or server that my application uses.

java.sql.SQLException: ORA-24813: cannot send or receive an unsupported LOB

      at oracle.jdbc.driver.SQLStateMapping.newSQLException(
      at oracle.jdbc.driver.DatabaseError.newSQLException(
      at oracle.jdbc.driver.DatabaseError.throwSqlException(
      at oracle.jdbc.driver.T4CTTIoer.processError(
      at oracle.jdbc.driver.T4CTTIoer.processError(
      at oracle.jdbc.driver.T4C8Oall.receive(
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(
      at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
Do you have multiple servers?  Maybe load balanced?  If so, check their Oracle versions.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
neerajmanayilAuthor Commented:
My application is deployed on multiple servers and Oracle is on rac servers with load balanced.
slightwv (䄆 Netminder) Commented:
From the error code description, looks like you have an Oracle version issue that only hits the 'bad' combination once in a while.
neerajmanayilAuthor Commented:
Is the Oracle Version discrepancy the only cause for this issue? Or can it be caused by any other reason?
slightwv (䄆 Netminder) Commented:
I have to go by the error code.

Everything I can find, even in Oracle Support, points to a version mismatch.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.