aspose file tools*
The moose likes JBoss/WildFly and the fly likes application deployed on jboss doesn't update db schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "application deployed on jboss doesn Watch "application deployed on jboss doesn New topic
Author

application deployed on jboss doesn't update db schema

Daniil Bubnov
Greenhorn

Joined: Apr 13, 2012
Posts: 1
Hello!

I started to study j2ee and looked into jboss7 quickstarts. To be exact jboss-as-login example. It works nice but when i change default datasource (with newly created one) and persistence.xml it doesn't update db schema with hbm2ddl despite of property set in persistence.xml. And there is no sign of updating in log

here is my files

persistence.xml - http://pastebin.com/2M5gx0Tp
datasource extract from jboss standalone.xml - http://pastebin.com/1hMqBgih
startup log - http://pastebin.com/U0zZVQn0

i would say that if i change something in entities code and then manually correct database everything works. But i don't want to create everything by hand.

thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: application deployed on jboss doesn't update db schema