Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

stored procedure  RSS feed

 
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
 
author & internet detective
Marshal
Posts: 37714
579
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
Boost this thread!