使用Jpa操作数据库时,如果字段名称使用了数据库保留关键字,会报错:
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version Cause使用Jpa操作数据库时,如果字段名称使用了数据库保留关键字,会报错:
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version Cause