8 Replies Latest reply on Jul 21, 2006 9:28 AM by aashishvora

    JBossCache with Hibernate Transaction

    aashishvora

      Hello,
      I am trying to develop an application with Hibernate for persistence, Spring for transaction demarcation. I am also using JBossCache for data replication across 2 members in a cluster.

      The requirement is that the data should not be replicated unless the transaction is completed. Hence JBossCache is configured to use transaction and it is working fine as long as JBoss JTA transaction is being used.

      With the change in requirement, we are being asked to use Hibernate's transaction management. I am not sure how to integrate JBossCache with Hibernate's TM. Is it possible to do so?

      Any help is greatly appreciated.