As for the problem of the original poster, evictAll is for the
*Level1* cache (which will not be of any use since you aren't using
transactions there). Calling addLabels is queued (doesn't go straight
to the DB in the version you use there), and you don't then start a
transaction. Simple thing to do to get around it would be
pm.currentTransaction().begin();
pm.currentTransaction().commit();
after the addLabels.

You can help yourself by looking at the log, since it explains way
more than that (at DEBUG level).

-- 
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to