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

    entityManager.remove() problem

    Vlad Ionescu Newbie

      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;