Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331164 - Set UnitOfWorkImpl.shouldOrderUpdates() to true by default for 2.3
Summary: Set UnitOfWorkImpl.shouldOrderUpdates() to true by default for 2.3
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: David Minsky CLA
QA Contact: Project Inbox CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 19:01 EST by David Minsky CLA
Modified: 2022-06-09 10:05 EDT (History)
1 user (show)

See Also:


Attachments
Patch defaulting UoW shouldOrderUpdates to true (1.88 KB, patch)
2011-05-16 15:17 EDT, David Minsky CLA
no flags Details | Diff
Updated fix (3.42 KB, patch)
2011-05-17 11:24 EDT, David Minsky CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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