0 Replies Latest reply on Apr 4, 2005 4:35 AM by Sébastien SARTEL

    EJB BMP cache problem with findByPrimaryKey

    Sébastien SARTEL Newbie

      I'm developping BMP EJB and I saw that when I call the ejbFindByPrimaryKey, the first time, a connection is made to the datadase to load the EJB but the second time, no connection is made, JBoss retrieve the instance from the cache.
      My problem is that I don't want any cache, the database is modified with a another application so jboss must call the database for retrieving any instance.

      Someone have the solution ?

      Thank's very much for your answer