问题如下:
WARN: GenerationTarget encountered exception accepting command : Error executing DDL via JDBC Statement
org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL via JDBC Statement
解决方法:
请将hibernate.cfg.xml里的配置:
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
替换成:
<property name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>