0 Replies Latest reply on Jul 15, 2003 6:05 PM by Wellington Pinheiro

    Problems with CMP/DAO Patter

    Wellington Pinheiro Newbie

      Hello,

      We are developing an application that uses EJB CMP and for the most of queries we are using a DAO Pattern to get the Database Data.

      We have a big process where we are updating many EJB's and just after this update we make a DAO call to get this data that was updated (via EJB) and some other records that were in the DB. The problem is that the data that were just updated is not being retrieved by the DAO.

      I thought it was because the container didn't have made the store of the EJB data...so, I put a message on the ejbStore() and this is what really happens!!! But I need this data just after the EJB update !!!

      Has anybody seen this kind of problem or has a solution for this??

      Thanks,
      Wellington.