• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

spring jdbc uncategorized SQLException:java.lang.ArrayIndexOutOfBoundsException

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic