aspose file tools
The moose likes JBoss and the fly likes application deployed on jboss doesn't update db schema Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: application deployed on jboss doesn't update db schema
 
Similar Threads
Best Place to Store Temp Code Snippets Online?
Spring Hibernate (JPA) integration
Using datasource for login bean & login page?
PersistenceException: Cannot set auto-commit mode when using distributed transactions
Is it necessary to restart the server each time before running , when using JSTL?