What does the following Oracle error mean: invalid column index

后端 未结 8 1012
你的背包
你的背包 2020-12-17 08:09

I got the following error while testing some code:

SQLException: Invalid column index

What exactly does that mean?

Is

8条回答
  •  旧时难觅i
    2020-12-17 08:12

    I had the exact same problem when using Spring Security 3.1.0. and Oracle 11G. I was using the following query and getting the invalid column index error:

    It turns out that I needed to add: "1 as enabled" to the query:

    Everything worked after that. I believe this could be a bug in the Spring JDBC core package...

提交回复
热议问题