1 Reply Latest reply on Feb 4, 2009 6:38 AM by Manik Surtani

    CacheProvider for JBoss 3.0.2 w/MVCC and Hibernate 3.2 (not

    nikita tovstoles Newbie

      I am looking for a recommended CacheProvider for the following config:

      -JBoss Cache Core 3.0.2 (will run in cluster, using async invalidation)
      -Hibernate 3.2.6.ga (cannot use hibernate 3.3.x because problems with javassist require using CGLIB, but http://opensource.atlassian.com/projects/hibernate/browse/ANN-782 prevents using 3.3.x)
      -will use entity, query, and collection caches (Cache instance per)
      -use MVCC (avoid synchronization on reads)

      This PDF guide http://galder.zamarreno.com/wp-content/uploads/2008/09/hibernate-jbosscache-guide.pdf is inapplicable to Hibernate < 3.3.1, requiring usage of RegionFactory rather than CacheProvider

      On the other hand, this blog http://galder.zamarreno.com/?p=56 does use a CacheProvider, but seems to be geared for JBoss Cache < 3, so no MVCC (locking reads...).

      So which CacheProvider should I use, given above constraints?