My Oracle Support Banner

Malformed SQL Text (PARSE ERROR) created by the JDBC driver may lead to ORA-904 or Performance Issue (Doc ID 2579487.1)

Last updated on AUGUST 09, 2023

Applies to:

JDBC - Version 12.1.0.1.0 to 18.0.0.0.0 [Release 12.1 to 18c]
Information in this document applies to any platform.

Symptoms

A JDBC application using JDBC version 12.2.0.1(ojdbc8.jar) is is causing SQL statements containing a syntax error to be issued to the database.
The statements originate from the JDBC driver API calls rather than the application directly issuing bad statements.

example of bad SQL:  

But even though you may not see errors at the application level, this can lead to a performance isuse on the database side due to extensive parsing activity.

 

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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