jQuery in Action, 2nd edition
The moose likes JDBC and Relational Databases and the fly likes a small doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "a small doubt" Watch "a small doubt" New topic
Author

a small doubt

shiv ram
Greenhorn

Joined: Jul 10, 2010
Posts: 1
java.sql.SQLException: No value specified for parameter 1
can anyone suggest the answer?java.sql.SQLException: No value specified for parameter 1
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40952
    
  28
Welcome to the Ranch

Please read this; people might not answer if they don't know what your question is from the thread title.
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
You are trying to use a prepared statement but not setting it up correctly. Why don't you post your code and the full error (and please UseCodeTags)?
 
rocket mass heater kickstarter
 
subject: a small doubt