ExecSQLEx in D2009 raises error, works fine in D7

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

ExecSQLEx in D2009 raises error, works fine in D7

Post by upscene » Tue 29 Dec 2009 14:02

Hi,

This piece of code:

Code: Select all

FConnection.ExecSQLEx(Format('alter session set current_schema = %s', [FDefaultSchema]), []);
works fine in D7, version 6.90.0.54 (01-Dec-09) of ODAC, while the same code fails with:
Invalid Params array. Valid format: ,[,,[...]]
in a D2009 compiled library, same version of ODAC.

Can you reproduce this?

With regards,

Martijn Tonies
Upscene Productions

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

Post by Plash » Wed 30 Dec 2009 08:19

We have fixed this problem. The fix will be included in the next build of ODAC.

upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

Post by upscene » Wed 30 Dec 2009 08:23

Plash wrote:We have fixed this problem. The fix will be included in the next build of ODAC.
Thank you...

Looking forward to the next build of ODAC/MyDAC and IBDac as quite some problems should be fixed :D

Post Reply