Hi,
How can I circumvent this problem when using the PojoCache?
I am running into a similar problem, as mentioned earlier, when setting a field
of a class added to the cache.
I am using JBossCache 1.4.0.GA.
Regards,
Marcel Dullaart
View the original post :
http://www.jboss.com/index.html?mod
Marcel,
Is this the same problem or a similar problem. Please be specific about your
usage and error log (or stack trace).
Thanks,
-Ben
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958635#3958635
Reply to the post :
http://www.jboss.com/index.html?modu
I think it is a similar problem, so not exactly the same.
I have a couple of pojo's inserted in Lists, these lists are added to the cache.
One of these pojo's have a state implemented using the GoF state pattern, hence
as pojo's theirselves.
Now when I change the state into a different state using
Marcel,
Thanks for the detailed info. When we do putObject, internally we do check for
the exisiting object. If it is, we return right away. So this is not just
assignment of the same object, I'd imagine.
Will it be possible that you can put together a simple test? That'd help
greatly.
Thanks
Hi Ben,
Simplifying the code to make a test case took some time, but I have it ready
now, where can I send it to?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960905#3960905
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=rep
ben d0t wang at jboss d0t com
thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960912#3960912
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960912
___
jboss-user maili
We see the same exception. Trying to reproduce it, I found I can only provoke
it by having a circular reference. I have created a small test case (and
created JBCACHE-757 (http://jira.jboss.com/jira/browse/JBCACHE-757) for it):
import org.jboss.cache.aop.PojoCache;
| import org.jboss.cache.aop
Good. I will take a look.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968380#3968380
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968380
___
jboss-user mailing list
jboss