Datasource With JDBC And UCP Causes Ora-0900 Error
Last updated on SEPTEMBER 19, 2017
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.
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