• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring jdbc uncategorized SQLException:java.lang.ArrayIndexOutOfBoundsException

 
S Rajagopal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to insert a row into oracle DB with the below code


When i try to insert i get uncategorized SQLException:SQL state [null]; error code [0] java.lang.ArrayIndexOutOfBoundsException

I am not inserting a few nullable columns in that table.I tried executing the query directly into oracle db and it works(no length/type violation).To debug i tried reducing the number of values i am inserting via spring JDBC and found that i am getting the above issue whenever i try to insert more than 7 values(tried inserting into different set of columns each time) .
I did find similar posts and tried the suggestions but i am still stuck... Any help is appreciated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic