Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331164

Summary: Set UnitOfWorkImpl.shouldOrderUpdates() to true by default for 2.3
Product: z_Archived Reporter: David Minsky <david.minsky>
Component: EclipselinkAssignee: David Minsky <david.minsky>
Status: RESOLVED FIXED QA Contact: Project Inbox <eclipselink.foundation-inbox>
Severity: enhancement    
Priority: P3 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch defaulting UoW shouldOrderUpdates to true
none
Updated fix none

Description David Minsky CLA 2010-11-25 19:01:28 EST
As part of work done for bug 331064, it has been suggested (by James) that the UnitOfWorkImpl property 'shouldOrderUpdates' be set to true by default for EL 2.2, so that (at the very least) deletes can be ordered by primary key to assist with preventing deadlock.
Comment 1 David Minsky CLA 2011-05-16 12:17:00 EDT
This needs to be resolved for 2.3
Comment 2 David Minsky CLA 2011-05-16 15:17:03 EDT
Created attachment 195785 [details]
Patch defaulting UoW shouldOrderUpdates to true
Comment 3 David Minsky CLA 2011-05-17 11:24:04 EDT
Created attachment 195876 [details]
Updated fix

Additional change to EntityManagerFactoryImpl shouldOrderUpdates
Comment 4 David Minsky CLA 2011-05-17 15:13:30 EDT
Checked into trunk (2.3) at r9403
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:05:55 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink