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.
OPTIMISTIC
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.
You need to use the OptimisticTreeCacheProvider that ships with Hibernate 3.2.
I've also updated the wiki page accordingly.