• Post Reply Bookmark Topic Watch Topic
  • New Topic

can we call procedures with preparedstatement?  RSS feed

 
santhosh bhupathi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can we call procedures with preparedstatement?
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37399
531
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CallableStatement extends PreparedStatement. you should use the CallableStatement interface for a stored procedure.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!