[jboss-user] [JBoss Cache: Core Edition] - Re: JPA/Hibernate JBC usage

bstansberry@jboss.com do-not-reply at jboss.com
Mon Mar 30 17:17:49 EDT 2009


For a discussion of the relevant concepts and configurations, please see http://www.jboss.org/jbossclustering/docs/hibernate-jbosscache-guide-3.pdf.

	enables query result set caching, where the cache key is the query string + parameter values and the cache value is the set of entity PKs that match the query result.  It does *not* enable caching of the entities themselves, for which you must specify 

Enabling entity caching and not query result set caching makes perfect sense, since Hibernate will check the cache first any time it needs to find an entity by PK.

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

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



More information about the jboss-user mailing list