0 Replies Latest reply on Aug 16, 2004 3:30 AM by neva

    Inconsistency due to caching

    neva Newbie

      Hi All,

      I bumped into a problem while working with caching. In an application I am developing, I defined 2 entity beans both referring to the same table in the db and each of them is in a different module (jar). Of course when I use caching, I face inconsistency bec. if I edit from one module, it is not reflected in the other since from jboss's point of view, they are 2 separate things. How do I overcome this?
      P.S: I need 2 entity beans representing the same table bec. I need that entity to have relationships with other entites from both jars and since I can't have relationships between beans not contained in the same jar, this seemed like the only thing to do.