Hello Simon,
even if I persist it doing

       try {
           r.setImage(newImage);
           pm.makePersistent(newImage);
       } finally {
           pm.close();
       }

I still get the same results. The interesting thing is that if I
delete the image entity from the datastore, the recipe points to the
next one. Maybe there's some reference issue happening that I need to
fix. Don't know.

On Thu, Apr 7, 2011 at 10:39 AM, Simon Knott <[email protected]> wrote:
> Hi,
>
> I don't personally use JDO, but don't you have to re-put your object?
>
> I don't know how JDO does its dirty checking - I doubt very much that it
> will persist modified entities just because you're closing the Persistence
> Manager.
>
> Cheers,
> Simon
>
> --
> 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.
>

-- 
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