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!
  • 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