How do you pass number or timestamp parameters to Oracle stored procedures in Java?
(Doc ID 1027105.1)
Last updated on JULY 10, 2020
Applies to:Sun e*Gate - Version 4.5.0 and later
Sun Schema Runtime Environment (SRE) - Version 5.0.5 and later
Information in this document applies to any platform.
***Checked for relevance on 13-Aug-2015***
When you build a Java ETD against a stored procedure that has a 'number' or 'date' parameter, the type property of the appropriate field is not 'java.lang.String'. Instead, it is another Java datatype such as double, or 'java.sql.Timestamp'. Does this mean you need to convert any input to this type before calling the 'set' method for this field ?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document