File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes stored procedure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "stored procedure" Watch "stored procedure" New topic
Author

stored procedure

pankaj patil
Ranch Hand

Joined: Dec 19, 2004
Posts: 98
Hi

i have a stored procedure which does the updation of the record.

i have used Callable Statement to call the stored procedure, but when i call the executeupdate statement on the CallableStatement object it return 0 when the data is successfully executed.

Actually the return value must be 1 .
What might the problem. Can any one guide me .

Pankaj
David McCombs
Ranch Hand

Joined: Oct 17, 2006
Posts: 212
Can you post the code?


"Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration."- Stan Kelly-Bootle
Parthasarathy balakrishnan
Greenhorn

Joined: Apr 20, 2007
Posts: 14
hi ,


i could not able to come to conclution with your question

please send the code :

and error which you have obtained


Thanks and Regards,<br />-------------------<br />Parthasarathy Balakrishnan,<br />Bangalore.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: stored procedure