Win a copy of The Java Performance Companion this week in the Performance 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
Pie
Posts: 49438
62
  • 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
Pie
Posts: 49438
62
  • 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: 34672
367
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