Hibernate不能自动创建表的问题

打开hibernate.cfg.xml,添加<property name="hbm2ddl.auto">update</property>,检查<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>

原文地址:https://www.cnblogs.com/gredezcici/p/4432418.html