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);
...

It works.

But when I undeploy in EclipseIDE, the data in database are deleted.

Can some one explain me why it is deleted, and show me how to avoid this ?

thank U.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977663#3977663

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977663
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to