报错
RedRain19
这个作者很懒,什么都没留下…
展开
-
MySQL报错[ERR] 1093 - You can‘t specify target table ‘student_info‘ for update in FROM clause 的解决办
MySQL在执行更新或者删除操作时,当条件还是该表查询出来的时候,会报[ERR] 1093 - You can’t specify target table ‘opm_service_info’ for update in FROM clause这可能更新的表与查询的表为同一表会存在嵌套递归,MySQL会报上述错误。如:update student_infoset service_state = 0where id in (select id from student_info whe原创 2021-03-04 10:59:26 · 419 阅读 · 1 评论 -
Mybatis连接Postgres报ERROR: relation "xxx表名" does not exist.解决方法
在mybatis的mapper.xml中写入已经验证后的查询语句时报错如下:org.postgresql.util.PSQLException: ERROR: relation "xxx_tablename" does not exist首先,查询语句已经在数据库里查验过了,没有任何问题,数据库中也有这张表,为啥就是一直报这个错误呢?在网上搜了很久,大概的说法如下:1.pg是需要区分大小写...原创 2020-01-02 14:31:18 · 31894 阅读 · 10 评论 -
java报nested exception is org.apache.ibatis.binding.BindingException: Parameter 'XXX' not found错误解决方法
在写一个分页功能的时候用到了mybatis插件,当传入参数的时候报如下错误,折腾了很久,也没有发现错误,代码层找人看了也没有任何问题,现在已解决,记录经过以备忘org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter '...原创 2019-12-26 15:35:47 · 7055 阅读 · 1 评论