[jboss-user] [JBoss Cache: Core Edition] - Re: JBC Strategie with JPA/Hibernate
do-not-reply at jboss.com
Mon Apr 6 05:39:28 EDT 2009
If you are referring to a cache loader, I can't imagine why you would use a cache loader if you are using JBC with Hibernate, since Hibernate already provides persistence.
Using cache loaders with JBC is really for cases where you want cached in-memory state to be persisted (e.g., to disk or a DB) so it survives restarts and it can be evicted from memory when the cache hits certain thresholds.
In the case of a Hibernate 2nd level cache, this is unnecessary since any state in the cache already exists in Hibernate.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223590#4223590
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223590
More information about the jboss-user