Thanks for the prompt responses guys.

I tried:
- calling JDOHelper.makeDirty on the int[], both before and after the
call to update()
- changing the update method to reassign the entire int[]
- changing the int[] into a List<Integer>, and reassigning the entire
List<Integer> in update()

but the program's behaviour is still the same.

I also tried putting everything into a transcation, and calling
pm.makePersistent explicitly, but I'm still getting the same behaviour
as I outlined above.

Any more thoughts?

~Owen

On 22 ago, 04:58, datanucleus <[email protected]> wrote:
> > In short, stay away from array members because there is no good way for JDO
> > to detect when they've changed.
>
> Or call
> JDOHelper.makeDirty(...)
> for the field after updating the array contents.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to