| Summary: | OptimisticLockException on Update Query when using Batch-Writing on Oracle | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Hans Harz <hansharz_bugzilla> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P2 | CC: | andrei.ilitchev, douglas.clarke, eclipselink.orm-inbox, gordon.yorke, tom.ware | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Hans Harz
Setting target and priority. See the following page for details of the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines Moving this bug into 2.4 based on the effect I have seen at a customer site. Depending on the complexity of the fix we may want to port to 2.2/2.3 patches. Created attachment 215662 [details]
Suggested patch.
It is impossible to enforce optimistic lock for bulk delete, don't set hasOptimisticLock to true.
Checked the fix into both trunk 2.4 (revision: 11371) and 2.3.3 (revision: 11372) The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |