1 Reply Latest reply on Mar 26, 2007 11:34 AM by brian.stansberry

    Transactions in Local mode

    sonicfab

      Hi.
      I'm using TreeCache 1.4.1 with no replication. I understand that each calling thread will start an internal transaction, even if there is no transactional context in the client.
      - Does that mean that I need to configure a TransactionManager in the cache config file ?
      - Is there any way of de-activating the cache's transactional behavior ? I guess this is only possible in optimistic locking mode, right ?

      Fabien

        • 1. Re: Transactions in Local mode
          brian.stansberry

          A transaction is created internally only if optimistic locking is used. With optimistic locking you have to configure a TransactionManager. With the default pessimistic locking it is not required. (In releases before 1.4.1.SP something the cache logs a WARN if you don't configure a TM, but it's not required.)