1 Reply Latest reply on Nov 20, 2006 10:08 AM by Manik Surtani

    Optimistic Locking Problem: JbossCache 1.4 and Hibernate 3.2

    Soheil Hassas Yeganeh Newbie

      I've upgraded my enviroment to Hibernate 3.2 and JbossCache 1.4 with Java5 installed, yesterday.
      I changed cache locking scheme to OPTIMISTIC as it is recommended for hibernate.
      But for any hibernate second level cache call to treecache it says :
      ... INFO [OptimisticNodeInterceptor] Cannot Handle Method _put(GlobalTransaction: ....

      How can I solve this?

      By the way changing the locking scheme back to PESSIMISTIC will solve my issue, but I really like to have the OPTIMISTIC locking scheme for the cache.