[jdf-users] New comment posted on JBoss Developer Framework

Disqus notifications at disqus.net
Mon Nov 25 00:10:56 EST 2013



Vineet Reynolds <vineet.reynolds at 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%2Fexamples%2Fticket-monster%2Ftutorial%2FDataPersistence%2F%23comment-1137910336%3Ayebn3TlDkiVe7mH3k5grR6EQ-x4&impression=f670a3d0-558f-11e3-8c04-00259035ce46&type=notification.post.moderator&event=email&behavior=click

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jdf-users/attachments/20131125/357ff123/attachment.html 


More information about the jdf-users mailing list