My Oracle Support Banner

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 NOVEMBER 22, 2021

Applies to:

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


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.





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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.