Here is how I declare my cache:
       
        Cache cache;
        Map props = new HashMap();
        props.put(GCacheFactory.EXPIRATION_DELTA, 60);// seconds
 
   CacheFactory cacheFactory = CacheManager.getInstance()
.getCacheFactory();
cache = cacheFactory.createCache(props);


I have an serializable object. I store this object on Cache calling the 
put(..) method.

this.cache.put("code", myObject);

When I try to retrive it, the object comes not null, but his properties are 
all null. Just his properties/fields.

Object object = cache.get("code");
//object here is not null, but properties are null


What Am I doing wrong? Some policy configuration?


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