ODAC: OCI_DESCRIBE_ONLY

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Quido
Posts: 25
Joined: Mon 09 Jan 2006 15:10

ODAC: OCI_DESCRIBE_ONLY

Post by Quido » Thu 03 Aug 2006 07:07

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.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 04 Aug 2006 13:20

This problem is fixed in new versions of ODAC.

Quido
Posts: 25
Joined: Mon 09 Jan 2006 15:10

Post by Quido » Mon 07 Aug 2006 10:58

Yes, from version 4.00 but we use Delphi 4 and ODAC 4.00 and higher isn't compatible with Delphi 4...

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 08 Aug 2006 11:35

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.

Post Reply