Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

callablestatement

 
aitex abex
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
callablestatement.clearParameters();
callablestatement.registerOutParameter(1, 12);
callablestatement.setString(2, s);
callablestatement.setString(3, s1);
callablestatement.setString(4, s2);
callablestatement.execute();
s3 = callablestatement.getString(1);
callablestatement.close();

In the above code what callablestatement.registerOutParameter(1, 12);
do.I am not able to understand it if any body can explane pls send me solution.
 
Naseem Khan
Ranch Hand
Posts: 809
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic