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.
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.
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