Page 1 of 1

Access Violation / TSmartQuery component with option DefaultValues set to true

Posted: Tue 29 Dec 2015 10:58
by redhair
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

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

Posted: Wed 30 Dec 2015 09:37
by AlexP
Hello,

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

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

Posted: Thu 11 Feb 2016 13:41
by AlexP
The issue is fixed, and the new version including these fixes is already available on our website.