File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Databases
»
JDBC
Author
java.sql.SQLException:
Garg Sharad
Greenhorn
Joined: Jun 20, 2009
Posts: 15
posted
Jul 22, 2009 07:12:19
0
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
Cheers,
Sharad Garg| SCJP6 95%
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35438
9
posted
Jul 22, 2009 07:25:22
0
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
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://aspose.com/file-tools
subject: java.sql.SQLException:
Similar Threads
connecting with oracle
Use a ResultSet twice
jsp resultset
a small doubt
Help! DriverManager.getConnection problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter