Access Violation / TSmartQuery component with option DefaultValues set to true

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
redhair
Posts: 11
Joined: Thu 20 Jun 2013 08:19

Access Violation / TSmartQuery component with option DefaultValues set to true

Post by redhair » Tue 29 Dec 2015 10:58

Hi ODAC Support Team,

My installed components:
- ODAC 9.6.21 for RAD Studio XE7
- C++ Builder XE 7 with Update 1
- all Oracle Versions

- Simple project:
1 OraSession ,
1 SmartQuery ( DefaultValues option set to true )

Code: Select all

	SmartQuery1->OptionsDS->DefaultValues = true;
	SmartQuery1->SQL->Text = "SELECT tablespace_name FROM dba_tablespaces ";
	SmartQuery1->Open(); // --> GPF
While opening the SmartQuery, i got an access violation in dac210.bpl.
If i change the SQL text in,

Code: Select all

SELECT * FROM dba_tablespaces 
all works fine.

Thank you

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Access Violation / TSmartQuery component with option DefaultValues set to true

Post by AlexP » Wed 30 Dec 2015 09:37

Hello,

Thank you for the sample. We have reproduced the problem and will try to fix it as soon as possible.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Access Violation / TSmartQuery component with option DefaultValues set to true

Post by AlexP » Thu 11 Feb 2016 13:41

The issue is fixed, and the new version including these fixes is already available on our website.

Post Reply