JPA2.1/ Hibernate 5.2 using Hibernate Tools to generate ddl via an ANT Maven task
问题 I have updated from Hibernate 4.3 to the latest version, currently 5.2.10.Final. I have the need for maven to generate the ddl schema so that when I run a drop database then create schema it will pick up the generated schmea which I am trying to get an ant task in maven to run. In my previous version I used... <groupId>org.codehaus.mojo</groupId> <artifactId>hibernate3-maven-plugin</artifactId> <version>2.2</version> I have followed the instructions found here so within my pom.xml I now have