-
1. Re: Unwanted automatic update of entities..
jacob1111 Oct 16, 2012 5:00 PM (in response to ajcmartins)Hi,
I think you should look at the response
https://community.jboss.org/message/728640#728640
" On the local node Infinispan does not copy the inserted objects and keeps a reference to the original object instead (unless you enable storeAsBinary). So all the changes made to those objects are automatically visible in the cache, but that is just an accidental effect of how Infinispan stores values - there isn't any effort to track changes to your objects and update the values in the cache.
The remote nodes obviously can't hold a reference to your objects, so they won't see any changes this way. The old JBossCache project had a "POJO Edition" that would track changes to objects and automaticall update the copies on all the cluster nodes, but it hasn't been ported to Infinispan.
Jacob Nikom
-
2. Re: Unwanted automatic update of entities..
ajcmartins Oct 16, 2012 5:56 PM (in response to jacob1111)Thank you so much Jacob, this certainly explains what's going on.
Cheers,