Vineet Reynolds <vineet.reynolds(a)gmail.com> wrote, in response to franleplant:
You'll need to use the "hibernate.hbm2ddl.auto" property in your
persistence.xml file, with a value of "create" or "create-drop" to
create the tables. This signals Hibernate to issue appropriate DDL statements to create
the tables, or drop and create the tables. There are other values as well, but using them
does not result in the creation of tables.
IP address: 209.132.188.34
Link to comment:
http://redirect.disqus.com/url?url=http%3A%2F%2Fjboss.org%2Fjdf%2Fexample...
franleplant wrote:
When I deploy the project I cant see any tables in H2 console:
I run
show tables;
And it tell's me that there are no tables in the DB.
Is there any special process to deploy the app and create the tables?
Fran
-----
Options: You can moderate through email. Respond in the body with "Delete".
Reply with "Like" to like this comment, or respond with anything else to approve
this comment and post your message as a reply comment.
Or use the moderate panel:
http://jdf.disqus.com/admin/moderate/#/pending
Stop receiving notifications when new comments are posted:
http://disqus.com/account/#notifications