Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.sql.SQLException:

 
Garg Sharad
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please give me solution of this Exception
java.sql.SQLException: Parameter index out of bounds. 6 is not between valid values of 1 and 5
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're not giving us much to work with, are you?

My guess would be that you're using some kind of PreparedStatement that has 5 parameters, but that the code is trying to set 6 of them. But not knowing what code you're talking about this is pure speculation: TellTheDetails
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic