0 Replies Latest reply on Apr 1, 2003 8:45 AM by orwtech

    Force down entity bean instances

      Hi

      Is it possible to force the ejb container to remove or reload all entity beans from its cache.

      My problem is that I sometimes have to modify data behind the back of the entity bean.
      When the entity bean is cached in the container I keep getting the old result until I shut down JBoss and restarts it.

      This is not acceptable in an runtime application.
      Therefore I want to write a .jsp page making it posible to force down or reload entity beans in the container. But I do not know which classes to call.

      Can anybody tell me which classes to call to get a list of all cached entity beans in the container and some kind of solution on how to force them to reload og to be removed?

      Gr.

      Jesper