Prepared Statements That Use Auto-Generated Keys Fail With "Invalid argument(s) in call" When Target Table Name Consists of a Single Character (Doc ID 2124368.1)

Last updated on APRIL 12, 2016

Applies to:

JDBC - Version 11.2.0.3.0 to 12.1.0.2.0 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

When using the Oracle JDBC driver to issue a prepared statement that returns auto-generated keys, this operation fails when the targeted table is given a name that consists of a single character.

For example:

1.  Given a table with an auto-generated column, and a one-character name:

 If the operation is repeated against a table whose name consists of more than one character, this error does not occur.

 

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