• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stored Procedure

 
pankaj patil
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic