can't run wrapped package using oraScript?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
John Young

can't run wrapped package using oraScript?

Post by John Young » Thu 18 Nov 2004 07:22

can't run wrapped package using oraScript? any help ? thanks

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Fri 19 Nov 2004 07:34

TOraScript can execute wrapped script. Try to execute this script using SQL Plus. Send please small demo project to demonstrate the problem to ODAC support email.
Please specify the following information:
- Version of Delphi or C++ Builder
- Version of ODAC. You can see it in About sheet of TOraSesion Editor
or Oracle\About menu of IDE
- Version of your Oracle server and client

John Young

detail of error

Post by John Young » Mon 22 Nov 2004 07:40

Hi Paul,

thanks for your response, I have tested orascript in odac version 4.15.0.13 and version 5.10.0.5.
if using NET option, get ORA-01003 no statement parsed.
if using oci,get ORA-01036 illegal variable name/number.
if using sql/plus to run the wrapped script no error.
Though get error when run the script , I can call some wrapped function correctly. but with complex function using date parameter ,I get invalid dateformat error.

I guess ODAC may have done some work on the script before sent to oracle.

thanks for your further help!

John

John Young

delphi and oracle version

Post by John Young » Mon 22 Nov 2004 07:50

All tested using Delphi7,Oracle 9i 9.2.1

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Mon 22 Nov 2004 08:29

Send us please small demo project to demonstrate the problem and include script to create server objects to ODAC support address.

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Wed 24 Nov 2004 08:39

Thank you for information. We reproduced your problem with ORA-01036, ORA-01003 and fixed it. This fix will be included in the next ODAC 5 build.

Post Reply