Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] SVN trunck pending commit: Bug#328040 - deletion constraint ordering

SVN trunck pending commit: Bug#328040 - deletion constraint ordering
 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=328040
 
Code review: Gord (pending)
 
Changes:
- track references from deleted objects to other deleted objects in earlyPreDelete
- changed delete to be similar to insert, have pre/post commit states and track shallow deletion
- during deletion dependent objects are first deleted, if cycle object is shallow deleted by updating foreign keys to null
- added test to delete all employees with cycle to JPA em tests
- some cleanup of commit process
- avoid executing insert/delete queries in mappings if the object was already processed
- split old-commit and new-commit methods for collection mappings
- changed CollectionChangeRecord to use List/Map generics
- fixed earlyPreDelete mappings to be inherited correctly
 

Back to the top