[jboss-user] [JBossCache] - Basic entity caching question (EJB3)

MrHighTech do-not-reply at jboss.com
Tue Jul 18 13:29:13 EDT 2006


Hello!

I am completely new to caching with JBossCache, so please bear with me. 

I have setup my persistence.xml file to use the jboss cache and apparently it works just fine for @Cache collections. On the other hand, I have used the @Cache annotation on entities but I can't seem to get them into the cache.

I was under the impression that loading it from the manager using find would actually load the referred entity in the cache or load it from there. 

Is that the way (manager.find(...)) to get mostly static data in the cache ?

Thanks,

Daniel


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

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



More information about the jboss-user mailing list