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 12.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.0.1.0 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:

ERROR
-----------------------


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

Cause

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