Galder Zamarreno [
http://community.jboss.org/people/galder.zamarreno%40jboss.com] replied
to the discussion
"jboss cache as hibernate 2nd level - cluster node doesn't persist replicated
data"
To view the discussion, visit:
http://community.jboss.org/message/548176#548176
--------------------------------------------------------------
You don't have access to the cache instances in 2LC, so your idea of adding a cache
listener won't work.
I think the easiest is either:
* Have database replication or have a single database rather than 2 separate databases, in
which case 2LC would work just fine without any tweaks.
* Or don't use 2LC and instead have your caching layer that behaves in the way you
want where you can add your cache listeners...etc.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/548176#548176]
Start a new discussion in JBoss Cache at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]