Batch Updates Using Apache OpenJPA With JDBC Lower Than Version 11.2 Fail With "org.apache.openjpa.persistence.PersistenceException: The update count for the statement was an invalid value (-2)"
(Doc ID 1155309.1)
Last updated on MAY 01, 2024
Applies to:
JDBC - Version 10.1.0.2 to 11.1.0.7 [Release 10.1 to 11.1]Information in this document applies to any platform.
Symptoms
When using a JDBC driver older than version 11.2.0.1, from a WebLogic domain, batch updates fail with the following error:
java.sql.SQLException: "The update count for the statement was an invalid value (-2)"
The error may disappear after restarting WebLogic.
ERROR
-----------------------
Changes
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 |
Changes |
Cause |
Solution |