0 Replies Latest reply on Jul 18, 2006 1:29 PM by mrhightech

    Basic entity caching question (EJB3)

    mrhightech

      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