1 Reply Latest reply on May 24, 2006 6:02 AM by manik

    Optimistic Cache

    amemon


      Very simple question ... can we use Optimistic Locking with hibernate while using JDBCTransactionFactory ... I don't have any JTA environment for example running tomcat.

        • 1. Re: Optimistic Cache
          manik

          You could use the DummyTransactionManager shipped with JBossCache, provided you don't rely on this TM to manage user transactions in your code or orchestrate other transactional resources.

          Otherwise, you could look at other external TMs like JBoss Transactions - http://labs.jboss.com/jbosstm