0 Replies Latest reply on Oct 4, 2006 4:25 PM by ataud

    Problem when undeploying the EJB3 jar

      I create a database in MySQL (4.0.20)
      I create PERSON table
      I develop the coreesponding Entity

      @Entity
      @Table(name = "PERSON")
      public class PersonEntity implements Serializable {
      ...
      }

      I deploy the jar and test the creation :
      ...
      entityManager.persist(personEntity);
      ...

      I works.

      But when I undeploy the jar, the table PESRON was deleted from the data base !