1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > oracle or索引失效 以下Oracle错误意味着什么:无效的列索引

oracle or索引失效 以下Oracle错误意味着什么:无效的列索引

时间:2019-12-19 23:25:00

相关推荐

oracle or索引失效 以下Oracle错误意味着什么:无效的列索引

I got the following error while testing some code:

SQLException: Invalid column index

What exactly does that mean?

Is there an online document explaining what all the Oracle error codes and statements?

解决方案

If that's a SQLException thrown by Java, it's most likely because you are trying to get or set a value from a ResultSet, but the index you are using isn't within the range.

For example, you might be trying to get the column at index 3 from the result set, but you only have two columns being returned from the SQL query.

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。