[jboss-user] [JBoss Cache] - jboss cache as hibernate 2nd level - cluster node doesn't persist replicated data

Galder Zamarreno do-not-reply at jboss.com
Mon Jun 14 06:27:28 EDT 2010


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/547768#547768

--------------------------------------------------------------
Unless database1 and database2 are somehow replicated, I can't see your use case working. The aim of 2LC is to act as cache of read data. It's not mean to act as primary source of data. It's only a temporary place to hold recent entites/collections/queries to avoid going to the server again. If data is evicted from the 2LC, it expects to retrieve it again from the database. But, as you can see in your case, db1 and db2 need to have data replicated between them for your use case to work.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/547768#547768]

Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100614/f598495e/attachment.html 


More information about the jboss-user mailing list