Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

stored procedure  RSS feed

 
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: 36864
481
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!