1 Reply Latest reply on Jul 2, 2009 7:33 AM by Mircea Markus

    Jboss cache transactional support

    sridhar reddy Newbie


      I am using jboss cache as in memory database with persistent mechanism as JDBM.

      I have multiple cache instances each having own private data.

      For the database i am using spring with hibernate.

      My question is how can i put both cache manipulation and hibernate database actions under a single transaction.

      I mean if the database transaction fails, then the cache updates should be rolled back and vice versa.

      Please help me.
      Thanks in advance.