Page 1 of 1

ODAC: OCI_DESCRIBE_ONLY

Posted: Thu 03 Aug 2006 07:07
by Quido
Hello.

Is it possible open cursor with only one time execution on DB server? I mean if is possible exclude first, describe only, call of server. Describe is offered by server implicitly with execution of select, no explicit call is necessary but ODAC used it for preparing fields...

I found

FAutoInitFields: boolean; // initialization fields by InternalInitField
FDeferredInitFields: boolean; // initialization field on Open, if False then on Prepare

but I don't konw if is possible change it without damage of functionality.

Can you help me, please?

ODAC: 3.90
Oracle: 8-10
Delphi: 4

Thank you very much.

Posted: Fri 04 Aug 2006 13:20
by Plash
This problem is fixed in new versions of ODAC.

Posted: Mon 07 Aug 2006 10:58
by Quido
Yes, from version 4.00 but we use Delphi 4 and ODAC 4.00 and higher isn't compatible with Delphi 4...

Posted: Tue 08 Aug 2006 11:35
by Plash
In ODAC 3.90 it is not possible to open query without describe-only execution. You cannot change values of FAutoInitFields and FDeferredInitFields without damaging of ODAC functionality.