3 Replies Latest reply on Jul 30, 2009 8:48 AM by Angus Morison

    Pojo Cache without AOP?

    Angus Morison Newbie

      Is it possible to use Pojo Cache without AOP?
      I am using EJB3 (Entity) to access the DB.
      I tried using the Hibernate second level cache, but failed as described here:
      I then tried using the PojoCache to cache the objects myself, but it failed with the same root cause as described here:
      http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3971509. (I do not know exactly which object was causing the fault. In simpler situations such as the EJB3 relationships tutorial, it worked).
      I then tried the PojoCache, but without generating the AOP for the cached classes, and it did work.

      This would be sufficient for my purposes. Could someone kindly tell me if the PojoCache without AOP is a valid approach. (JBC 1.4.1)

      Thank you.