Currently we are migrating one of our applications from DOA to ODAC
components. We have a big problem with calling stored procedures with
default parameters. In ODAC default parameters are always NULL, but DOA makes it correctly. Let me give an example:
Code: Select all
PROCEDURE get_free_ress(
in_quantflag IN NUMBER,
IN_TEST IN NUMBER DEFAULT 5
)
Code: Select all
var
Package_Orion_Gantt: TOraPackage;
Package_Orion_Gantt.ExecProcEx('get_free_ress', ['in_quantflag', 1]);
This breaks functionality of many our stored procedures, the same
call in DOA gives proper values of default parameters.
I use ODAC 5.70.0.29, Delphi 7, Windows XP SP2,
Oracle Client 9.2.0.7.0 (NET Option is not used)
Oracle 9i Server 9.2.0.7.0.
Any help will be approciated.
Thanks