The documentation for hibernate.hbm2ddl.auto says this:

anonymous wrote : Automatically validate or export schema DDL to the database 
when the SessionFactory is created. With create-drop, the database schema will 
be dropped when the SessionFactory is closed explicitly.

When you redeploy your EAR file, do you see any logs which suggest that the 
sessionfactory is being closed and the schema being dropped? Looks like the 
tables are not dropped when you are redeploying which results in these error 
messages. Compare the server.log file to see if there's any difference in the 
way your application is undeployed, when your redeploy the application as 
compared to when you stop JBoss.

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

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

Reply via email to