pm.makePersistent( persistme ); is called after the deletion it will 
recreate it. You'll have to query it by objectid first and see if it exists. 
If it exists you could update. SQL would need an ID to update, but in JDO, 
it will make a new ID on insert and update depending on existence.

like so:
MyClassJdo exists = pm.getObjectById(MyClassJdo.class, keyId);

Brandon Donnelson
http://gwt-examples.googlecode.com

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