roc230 / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

Object with Integer field returns null when fetched cache #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a List of objects placed in the cache but when I fetch the objects
from the cache I noticed that the Integer fields return null instead of the
previous values stored in them.

The List<EntityBean> is based on an entity bean that has hashCode(),
equals(Object obj) and toString() methods defined.

I am using memcached-2.5rc1.jar under Ubuntu Linux 9.

Thanks.

Original issue reported on code.google.com by onyii5...@gmail.com on 3 Jan 2010 at 9:09

GoogleCodeExporter commented 9 years ago
Found the problem. The super class of the entity bean was not Serialized.

Original comment by onyii5...@gmail.com on 5 Jan 2010 at 4:32

GoogleCodeExporter commented 9 years ago
Great, thanks.  :)

Original comment by dsalli...@gmail.com on 5 Jan 2010 at 6:56