1 Reply Latest reply on Jun 4, 2009 7:33 PM by jeanluc

    entityManager.remove() problem

      I want to remove an object using entityManager.remove(obj) but i get the following error:


      Removing a detached instance org.domain.licenta.entity.Participants#168





      Do you know why? How can I remove an object using entityManager?


      entityManager is declared as followed:


      @In EntityManager entityManager;