Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.sql.SQLException: Missing IN or OUT parameter at index::2

 
Aruna Gopalakrishnan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting the following error when i am trying store a record into a table using PreparedStatement..
java.sql.SQLException: Missing IN or OUT parameter at index::2
What is meant by this error. if any body knows how to solve this issue, please let me know.
Thanks
Aruna Gopalakrishnan
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it sounds like you didn't bind a value to your callable statement at index 2, the second question mark in your SQL statement.
If the problem runs deeper than this, you'll have to post a code snippet of the code that is causing you problems.
Jamie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic