This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JDBC and the fly likes Optionally Setting parameters for Oracle functions from jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Optionally Setting parameters for Oracle functions from jdbc" Watch "Optionally Setting parameters for Oracle functions from jdbc" New topic
Author

Optionally Setting parameters for Oracle functions from jdbc

Ann Sebastian
Ranch Hand

Joined: Sep 21, 2005
Posts: 37


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???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Optionally Setting parameters for Oracle functions from jdbc
 
Similar Threads
Set Method for Oracle Database
Line Counting in Java
help regarding jdbc
JDBC input parameter for type IS TABLE OF VARCHAR2
Stored procedure which returns array