我尝试使用春季4.2版将项目中的休眠模式从4升级到5 。升级之后,我在调用更新方法时在堆栈跟踪中发现以下错误。 10:53:32,185 ERROR TableStructure:149 - could not read a hi value com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'test.hibernate_sequence' doesn't exist 我用注解更改了自动递增的ID @GeneratedValue(strategy=GenerationType.AUTO) 错误仍然存在。