SmartFetch and case sensitivity

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
bogdan
Posts: 20
Joined: Mon 13 Apr 2015 17:27

SmartFetch and case sensitivity

Post by bogdan » Thu 28 May 2015 14:14

Hello,
I have a TUniQuery that I want to use in SmartFetch mode.

'select id, name from types' --> works ok
'select id, NamE from types' --> raises ESmartFetchError: 'Fields of received result set do not correspond to fields of source dataset.'

Is there any option to turn off the case sensitivity?

My setup ix XE7, UniDAC 6.0.2, MySQL 5.5.41
The table is created like this:

Code: Select all

CREATE TABLE `types` (
   `id` INT(10) NOT NULL DEFAULT '0',
   `name` VARCHAR(50) NOT NULL,
   `price` FLOAT NOT NULL DEFAULT '0',
   PRIMARY KEY (`id`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB;
Thank you.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SmartFetch and case sensitivity

Post by ViktorV » Fri 29 May 2015 07:59

Thank you for the information. We have reproduced the problem and investigation is in progress. We will inform you when we have any results.

bogdan
Posts: 20
Joined: Mon 13 Apr 2015 17:27

Re: SmartFetch and case sensitivity

Post by bogdan » Fri 29 May 2015 13:07

Thank you very much, it would be great if this aspect could be solved.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SmartFetch and case sensitivity

Post by ViktorV » Fri 05 Jun 2015 12:42

The fix for UniDAC functioning in SmartFetch Mode when using case-sensitive queries will be included in the next UniDAC build.

bogdan
Posts: 20
Joined: Mon 13 Apr 2015 17:27

Re: SmartFetch and case sensitivity

Post by bogdan » Fri 05 Jun 2015 13:05

YES! :)

Thank you very much!

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SmartFetch and case sensitivity

Post by ViktorV » Tue 23 Jun 2015 09:34

The new UniDAC build with a fix for UniDAC functioning in SmartFetch Mode when using case-sensitive queries are available for download now.

Post Reply