Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313418 - delete all queries do not delete 1-1 join tables or aggregate collections
Summary: delete all queries do not delete 1-1 join tables or aggregate collections
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 14:14 EDT by James Sutherland CLA
Modified: 2022-06-09 10:14 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Sutherland CLA 2010-05-18 14:14:07 EDT
On a delete all query we delete m-m join tables and direct collections, but are not deleting 1-1 with join tables, or aggregate collections.  They should be deleted as well.

In the delete all code it is currently checking for an casting to ManyToManyMapping and DirectCollectionMapping, instead it should dispatch to the mapping.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:09:45 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:14:04 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink