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-372
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Stefan Seelmann
Reporter: Stefan Seelmann
Votes: 0
Watchers: 0

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

Nested embedded objects are not attached

Created: 27/Aug/09 01:39 PM   Updated: 11/Sep/09 08:40 AM   Resolved: 27/Aug/09 02:36 PM
Component/s: None
Affects Version/s: 2.0.0.m1
Fix Version/s: 2.0.0.m2

File Attachments: 1. Text File NUCCORE-372.patch (10 kB)

Datastore: Apache Derby, LDAP

 Description  « Hide
Having the following object graph: DigitalCamera embeds Memory embeds Chip

When updating a field of Chip (of an detached DigitalCamera object) this modification is not detected on attach.

I'll attach a patch and a test case, would be cool if Andy or Eric could review it.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 27/Aug/09 02:16 PM
Stefan, patch looks fine and all tests I've tried (and JDO TCK) work as before. Leave it to you to commit it and resolve the issue. Thx

Stefan Seelmann added a comment - 27/Aug/09 02:36 PM
Thanks Andy.

Applied patch to trunk.