Hibernate错误:Exception in thread "main" org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update

报错:Exception in thread "main" org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update

解决方法,把数据库方言MySQLInnoDBDialect改成MySQLDialect就可以了。

上一篇:Python之路【第十一篇】前端初识之HTML


下一篇:hibernate添加数据时Exception in thread "main" org.hibernate.PropertyValueException: not-null property references a null or transient value: com.javakc.hibernate.test.entity.TestEntity.testName