After DB Upgrade From 11.2 To 12.1, Java Stored Procedure Reports "java.sql.SQLSyntaxErrorException: ORA-00904"
(Doc ID 2689853.1)
Last updated on JULY 17, 2020
Applies to:JDBC - Version 126.96.36.199.0 to 188.8.131.52.0 [Release 12.1 to 12c]
Information in this document applies to any platform.
After upgrading Oracle Database from 184.108.40.206 to 220.127.116.11, a java stored procedure (using KPRB) reports “java.sql.SQLSyntaxErrorException: ORA-00904”.
When the java program used in the Java Stored Procedure was tested on the OS shell / command-prompt, with JDK 6 + JDBC Thin Driver 18.104.22.168.0 (ojdbc6.jar), the issue still reproduced.
On applying JDBC <patch 20692348> to JDBC Thin Driver 22.214.171.124.0 (ojdbc6.jar), the issue did not reproduce in the standalone java program running on OS shell / command-prompt.
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