Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Optionally Setting parameters for Oracle functions from jdbc

 
Ann Sebastian
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I want to ?optionally set the parameter,Sometimes voucherTbId wont have values,So line 1 will be skipped due to if condition

In that case,stmt.execute throws an error.Is there any way to do it???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic