Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • 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: 34837
369
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic