PrepareStatement(string, String[]) Failing Due To Upgrade From Ojdbc7 To Ojdbc8 With "java.sql.SQLException: Invalid argument(s) in call" Error

(Doc ID 2278611.1)

Last updated on JUNE 20, 2017

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


On : version, Thin JDBC driver

When using the Oracle JDBC driver to issue a prepared statement that returns auto-generated keys, this operation fails when the NLS_CHARACTERSET on the targeted database is WE8ISO8859P15 with the next error:


The issue has the following business impact:
Due to this issue, the existing applications fail.


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