This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Stored Procedure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
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
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Please don't post the same question in multiple forums. It makes it harder to follow the conversation.

Let's direct all responses to the original in JDBC.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Stored Procedure