My Oracle Support Banner

When using the BatchUpdateException a code of -2 is returned. (Doc ID 1025194.1)

Last updated on APRIL 05, 2017

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.

Symptoms

When using the java class BatchUpdateException to catch the exception caused by the command executeBatch() of an oracle PreparedStatement, a code of -2 is being returned.

Cause

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
Symptoms
Cause
Solution

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