1 Reply Latest reply on May 30, 2006 4:50 AM by Peter Voringer

    @Remove in Entity

    jason paignigiannes Newbie

      The trailblazer states (http://trailblazer.demo.jboss.com/EJB3Trail/persistence/entitylifecycle/index.html)

      Another life cycle method annotation for entity bean is the @Remove tag. It is not a callback method since the application, not the container, calls the @Remove method on the bean object to remove the bean instance from the EntityManager managed context. The bean instance becomes detached and you cannot use it again. The changes you made in this bean instance, if not committed, will be lost.

      This is not true (jboss-4.0.4.GA). Is this a failure in JBoss, trailblazer, or am I using the wrong annotation (javax.ejb.Remove)?