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 !