ORA-24372 - invalid object for describe on Oracle 9i

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
zedmartins
Posts: 18
Joined: Wed 11 Jul 2007 20:59
Location: Brazil

ORA-24372 - invalid object for describe on Oracle 9i

Post by zedmartins » Tue 24 Jun 2008 17:14

During the process to execute a stored procedure using ODAC and TOraStoredProcedure component, the OCI function OCIDescribeAny() is called to retrieve the procedure parameters. This function returns an ORA-24372 error if the stored procedure is invalid for any reason. Oracle releases 10 and 11 forces the recompilation of the object when describe is executed but that is not the behavior on Oracle 9i.
I was thinking about change the source code of ODAC to force a recompilation and another call to OCIDescribeAny before the error was raised. How can I do that?
Any other ideas?
Zed

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 26 Jun 2008 13:50

We will consider the possibility to add this feature in the next build of ODAC.

Post Reply