1 Reply Latest reply on Mar 13, 2006 2:55 PM by Nathan Ciliberto

    Container Cached Entity Beans

    Nathan Ciliberto Newbie

      'm working in an environment that has multiple applications which use a mix of EJB and straight database calls.

      The problem is if a database record is updated by one of the applications, the EJB container doesn't know about it. It takes a while before the container removes the entity bean from it's cache and reloads it from the database.

      In the meantime the container continues to serve the old data.

      Is there a way to tell the container to flush an object from it's cache?
      Is there a way to mark an entity bean (BMP) as "dirty"?

      (I'm not talking about "JbossCache" here.)

      I posted this in the "beginners" section, but I think this forum is a better place for it (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78898)