This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "application deployed on jboss doesn Watch "application deployed on jboss doesn New topic

application deployed on jboss doesn't update db schema

Daniil Bubnov

Joined: Apr 13, 2012
Posts: 1

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 -
datasource extract from jboss standalone.xml -
startup log -

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:
subject: application deployed on jboss doesn't update db schema
Similar Threads
Best Place to Store Temp Code Snippets Online?
Is it necessary to restart the server each time before running , when using JSTL?
Using datasource for login bean & login page?
Spring Hibernate (JPA) integration
PersistenceException: Cannot set auto-commit mode when using distributed transactions