美文网首页
nested exception is java.sql.SQL

nested exception is java.sql.SQL

作者: zhouhaolong1 | 来源:发表于2018-04-20 10:26 被阅读27次

执行oracle更新数据的语句报错
报错如下:
nested exception is java.sql.SQLException: ORA-01747: user.table.column, table.column 或列说明无效

问题原因:
1、可能没有那个列
2、看是不是使用了oracle的关键字做为了列名

我发现我的表中的列名有一个desc,更改列名即可。

相关文章

网友评论

      本文标题:nested exception is java.sql.SQL

      本文链接:https://www.haomeiwen.com/subject/pdlakftx.html