This is a configuration error.  In hibernate-service.xml, you should use:

  | ...
  |         <attribute name="CacheProviderClass">
  |             org.hibernate.cache.TreeCacheProvider</attribute>
  |         <attribute name="QueryCacheEnabled">true</attribute>
  | ...
  | 

This is because Hibernate comes with a 'Provider' class for each major cache it 
supports; a wrapper that   abstracts Hibernate code from cache product 
specifics.

See 
http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-cache
 for more info on Provider classes.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903201#3903201

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903201


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to