Delete Query Fail With OptimisticLockException If Batch-Writing JDBC Is On
(Doc ID 1478265.1)
Last updated on FEBRUARY 02, 2022
Applies to:Oracle TopLink - Version 220.127.116.11.0 to 18.104.22.168 [Release Oracle11g to 12c]
Information in this document applies to any platform.
This issue occurs in both Toplink and Toplink Grid environments for the following releases:
TopLink 22.214.171.124.0/Eclipselink 2.1.2
TopLink 126.96.36.199/Eclipselink 2.3.2
When using TopLink 188.8.131.52.0/Eclipselink 2.1.2 with JPA 2.0, an attempt was made to delete all the records in one table A through
a named JPQL delete query like "DELETE FROM A". It was found that delete operation fails and reports an exception
is removed from persistence.xml
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