[jboss-user] [EJB 3.0] - Tables of database deleted when undeploying
ataud
do-not-reply at jboss.com
Wed Oct 11 15:31:31 EDT 2006
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
More information about the jboss-user
mailing list