"Value Conflicts Occurs" When Deleting Row In Updateable Resultset (Doc ID 1176234.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 11.1.0.6 and later
Information in this document applies to any platform.

Symptoms


Java application intermittently throws "SQLException: Value conflicts occurs" while batch processing through millions of rows using a forward_only, concur_updatable ResultSet.
For each row, it processes the data and calls ResultSet.deleteRow()

example:

java.sql.SQLException: Value conflicts occurs
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:403)
at oracle.jdbc.driver.UpdatableResultSet.executeDeleteRow(UpdatableResultSet.java:3412)
at oracle.jdbc.driver.UpdatableResultSet.deleteRow(UpdatableResultSet.java:2298)

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