I got the following error while testing some code:
SQLException: Invalid column index
What exactly does that mean?
Is
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...