wood burning stoves 2.0
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark "stored procedure" Watch "stored procedure" New topic

stored procedure

pankaj patil
Ranch Hand

Joined: Dec 19, 2004
Posts: 98

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 .

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

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: stored procedure
It's not a secret anymore!