5 Replies Latest reply on Oct 14, 2010 5:28 PM by Assem Bardi

    how can i call a thread in seam that use entityManager of seam

    Assem Bardi Newbie

      Hi All,
      i used :
      EntityManager entityManager = (EntityManager) Component.getInstance("entityManager"); in the run() of the thread.
      the problem is that the thread could not see the entitymanager from the contexte.
      so from a seam Component, how can i call a thread that use entityManager of seam ;
      thank You all,
      Assem