[jboss-user] [JBossCache] - JBossCache and readonly transactions

aricci do-not-reply at jboss.com
Tue Apr 17 18:22:20 EDT 2007


Hi all,
i have developed a simple application that performs a readonly transaction, making 2 SELECT on a table in the database. i am testing it on a JBoss cluster. what i have noticed is that retrieved EntityBeans are inserted inside the local JBossCache and replicated to the other ones at the end of each SELECT.

I would like to know:
1) why do we need to replicate readonly transactions?
2) why do we replicate before committing a transaction?
3) when replicating, do we replicate the entire EntityBeans or only relative primary keys?

thank you very much
Andrea

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038170#4038170

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038170



More information about the jboss-user mailing list