google app engine - Memcache not saving entity list on Java AppEngine -
i want save list of entity kind memcache. entity using objectify annotation. save list memcache do
memcacheservice synccache = memcacheservicefactory.getmemcacheservice("food"); synccache.seterrorhandler(errorhandlers.getconsistentlogandcontinue(level.info)); synccache.put("foods",foodlist);//foodlist = arraylist of objectify entity synccache.put("timesaved",new datetime());
i keep getting error saying entity not serializable
java.io.notserializableexception:'com.company.data.food'
any ideas how might work? foodlist
result of query. want save result of query memcache.
Comments
Post a Comment