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: NUCCORE-811
Type: Bug Bug
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 Core

Fields that are arrays of persistable objects are not cascade attached

Created: 12/Feb/12 08:10 PM   Updated: 30/Mar/12 09:25 AM   Resolved: 12/Feb/12 08:39 PM
Component/s: Persistence
Affects Version/s: 3.0.8
Fix Version/s: 3.0.9, 3.1.0.m1

 Description  « Hide
If we have a field of type

MyClass[] array;

and MyClass is persistable then when attaching the owning object the attach is not cascaded to the array elements.

Andy Jefferson added a comment - 12/Feb/12 08:39 PM
SVN trunk and branches/3.0 add basic support for this

Andy Jefferson made changes - 12/Feb/12 08:39 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 30/Mar/12 09:25 AM
Status Resolved [ 5 ] Closed [ 6 ]