• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stored procedure

 
zaheer agadi
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi m using a mySql stored procedure for deletion of data which takes empid as in parameter how to pass the in parameter from java to stored procedure java
thnx in advance
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Zaheer,
You can call preparedStatement.setString() or setInt() depending on what data type the employee id is.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic