"jorgemoralespou_2" wrote : | We expect here to have the correct value, but we have the previously value, I guess that retrieved from Database. We supposed this value was updated when we did a put in the cache, and also that values should be retrieved first from the other node in the cluster, and then, if nothing found, from database. |
The cache will first check it's own local memory and after that, check all cache loaders. If you want it to query other caches in the cluster as well, add a ClusteredCacheLoader to your configuration, *before* the JDBCCacheLoader. The reason why you may not get the latest value from the JDBCCacheLoader *may* be because you have set this cache loader to be async, so writes may not have completed to the database. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104149#4104149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104149 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
