2 Replies Latest reply on Dec 19, 2006 2:40 PM by Juha Moisio

    MDB & EntityManager

    Juha Moisio Newbie


      When I use injected entity manager in MDB to fetch data from database
      using information provided in jms message.

      Do I have to call entityManager.clear() at the end of onMessage so
      that all Entities become detached and they can be handled by gc?


      Juha Moisio