2 Replies Latest reply on Jan 26, 2005 3:49 PM by Hari Velappan

    Old data retreaved after making an update (cache problems...

    Daniel Campelo Newbie

      Is there a way to disable the cache on the JBoss?

      I'm using EJB 2.0 and DAO pathern in the same application. The db data can be handle by both at the same time and make the EJB data inconsistent with the db. Here's the situation :
      The data is loaded by the EJB, and is placed in the aplication session.
      It can be executed an update by the DAO, and the application needs to reload the data using the EJB, in this 'reload' the data that is retreaved is the old one and not the actual data that the db has...

      Any leads on this one?

      Thanx in advance,
      Daniel Campelo