1 Reply Latest reply on Jan 5, 2009 3:44 AM by manik

    POJOCache with Hibernate?

    yaomin

      Hi,

      I am trying to evaluate JBossCache with Hibernate. There is the Second-level cache that can be used with Hibernate. I would like to know if there is a cachestore that is placed in front instead of having the cache to be a second-level cache? Will POJOCache work well with Hibernate? Is there any example that I can look into?

      Thank you,
      Yaomin

        • 1. Re: POJOCache with Hibernate?
          manik

          Hibernate already has a built-in first-level cache which does this (if that is what you are asking), which uses a simple map. This first level cache is cleared every time you commit a hibernate session.