Datasource With JDBC And UCP Causes Ora-0900 Error
(Doc ID 2307546.1)
Last updated on JULY 22, 2021
Applies to:JDBC - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
On : 220.127.116.11.0 version, Thin JDBC driver
When using a datasource in Tomcat for connections from a Vertex application with JDBC and UCP, statements get truncated causing the error:
java.sql.SQLSyntaxErrorException: ORA-00900: invalid SQL statement
If UCP is not used and the JNDI is used with the standard pool factory, the error does not occur. That is, using standard JDBC (no JNDI datasource), the issue does not occur.
The issue only occurs when implementing a JNDI datasource using UCP.
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