Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

application deployed on jboss doesn't update db schema

Daniil Bubnov
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic