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.
Vineet Reynolds
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.
12:10 a.m., Monday Nov. 25
Moderate this comment by email
Email address: vineet.reynolds@gmail.com | IP address: 209.132.188.34
Reply to this email with “Delete”, “Approve”, or “Spam”, or moderate from the Disqus moderation panel.