修改前:
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
修改后:
<property name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>