hibernate中报错could not execute statement

解决办法:

将数据库方言中MySQL后面加个5,应该是与数据库的版本有关。

org.hibernate.dialect.MySQLDialect
改为:
org.hibernate.dialect.MySQL5Dialect

 

你可能感兴趣的:(SSH)