I am not able to persist a HashMap field. This is how I define it: @Persistent(serialized = "true", defaultFetchGroup = "true") private Map<String, Integer> items;
When I create the Object which the Map is a field of, I instantiate the Map as follows: items = new HashMap<String, Integer>(); When I update the "items" HashMap I try to persist the object by doing the following: PersistenceManager pm = PMF.get().getPersistenceManager(); // Query for Object (HashMap is a field of this Object) // Update HashMap pm.makePersistent(objectContainingHashMap); However, when I attempt to retrieve the object after persisting it and read the HashMap it is always empty, as though I never updated it. Has anyone experienced this before? Thanks -- 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-j...@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.