How can I pass a literal to a Stored Procedure IN parameter for Oracle?
The Oracle jdbc documentation states that a date literal needs to be {d 'yyyy-mm-dd'}
http://docs.oracle.com/cd/E18283_01/jav ... m#i1005144
I guess the other option is I could pass a literal of to_date('01/01/2016','dd/mm/yyyy') but cannot establish how to pass &&{VAR} as per http://dev-docs.verj.io/ufs/doc/Databas ... c407616147
Code: Select all
fields.DATESUMBITTED.value = new Date();
Due to Ebase date format (?) results in
Setting in parameter 4(DATESUMBITTED) = 14/03/16 11:39:47
SQL error executing stored procedure ORACLE_STOREDPROC ORA-01843: not a valid month
ORA-06512: at line 1
ORA-06512: at line 1
Any ideas as to how I can pass a literal into a Stored Procedure? I want to use the core Stored Procedure resources rather than direct access from a script (at this stage).
Thanks