This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

Problem in CallableStatement

 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Report post to moderator
Am trying to call this one..

CallableStatement calll = conn.prepareCall("{call test(?,?,?,?,?)}");
...
...
boolean result = calll.execute();

In side this procedure am updating some tables. After executing this statement am getting the result as false. But the procedure is executed sucessfully and all the tables are updated correctly..

Please assist Me.
 
Campbell Ritchie
Sheriff
Posts: 48910
58
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please read the API documentation and look for the execute method. That will explain it all to you.
 
Campbell Ritchie
Sheriff
Posts: 48910
58
  • Mark post as helpful
  • send pies
  • Report post to moderator
And don't ask the same question twice.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34372
345
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing accidental duplicate thread.
 
    Bookmark Topic Watch Topic
  • New Topic