My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2019

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

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
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.