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 JULY 24, 2021
Applies to:JDBC - Version 10.1.0.2 to 18.104.22.168 [Release 10.1 to 11.1]
Information in this document applies to any platform.
When using a JDBC driver older than version 22.214.171.124, 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.
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