Two Laptop Bag*
The moose likes JDBC and the fly likes a small doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
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: 38107
    
  22
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)?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: a small doubt
 
Similar Threads
How to set OracleCallableStatement.Regist… to use byte instead of char?
How to know the type of request coming from the form
how request.getParameter works?
Tomcat connection pool exception: Closed Connection and Exhautsed Resultset
connecting with oracle