jpa报错:check the manual that corresponds to your MySQL server version for the right

113 阅读1分钟

原因一:

check the manual that corresponds to your MySQL server version for the right

因为表字段中使用了关键字,private String describe; 

解决方法:

1.将字段describe改为des

2.加上注解:@column(name="\"describe"\")