Protocol Violation While Using Clob With Definecolumntype()

(Doc ID 1300026.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version to [Release 11.2]
Information in this document applies to any platform.


While querying the CLOB field with defineColumnType(LONG_TEXT, Types.CLOB)
fails with following exception

Application uses database with 11.2 JDBC driver

Exception in thread "main" java.lang.RuntimeException: java.sql.SQLException: Protocol violation
at OrderProposalDelegateRaw.main(
Caused by: java.sql.SQLException: Protocol violation
at oracle.jdbc.driver.T4CTTIfun.receive(
at oracle.jdbc.driver.T4CTTIfun.doRPC(
at oracle.jdbc.driver.T4C7Ocommoncall.doOCOMMIT(
at oracle.jdbc.driver.T4CConnection.doCommit(
at oracle.jdbc.driver.PhysicalConnection.commit(
at oracle.jdbc.driver.PhysicalConnection.commit(
at OrderProposalDelegateRaw.executeQuery(
at OrderProposalDelegateRaw.main(


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