DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCJPA-70
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus API JPA

JPA2 : orphanRemoval on 1-1, 1-N relations

Created: 19/Apr/10 09:33 AM   Updated: 24/May/10 03:42 PM   Resolved: 23/May/10 07:51 PM
Component/s: API
Affects Version/s: None
Fix Version/s: 2.1.0.release

 Description  « Hide
See @OneToOne, @OneToMany annotations and XML equivalent

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 20/May/10 11:26 AM
SVN trunk now reads in this flag, and is present in AbstractMemberMetaData as "cascadeRemoveOrphans". Just need to handle the removals

Andy Jefferson added a comment - 23/May/10 08:30 AM
Implemented and tests added for 1-1

Andy Jefferson added a comment - 23/May/10 07:51 PM
SVN trunk also now tests for and supports 1-N orphanRemoval. Just gotta doc it