使用tk 通用mapper中踩到的坑-关于枚举类型update数据库失败
使用tk 通用mapper中踩到的坑
话说今天要修改一个实体类是枚举类型的数据库的值,但是一直修改失败,报错
### SQL: UPDATE xxx WHERE ( order_id = ? )
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to you
原创
2020-06-12 16:32:23 ·
13407 阅读 ·
0 评论