Page 1 of 1

SmartFetch and case sensitivity

Posted: Thu 28 May 2015 14:14
by bogdan
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.

Re: SmartFetch and case sensitivity

Posted: Fri 29 May 2015 07:59
by ViktorV
Thank you for the information. We have reproduced the problem and investigation is in progress. We will inform you when we have any results.

Re: SmartFetch and case sensitivity

Posted: Fri 29 May 2015 13:07
by bogdan
Thank you very much, it would be great if this aspect could be solved.

Re: SmartFetch and case sensitivity

Posted: Fri 05 Jun 2015 12:42
by ViktorV
The fix for UniDAC functioning in SmartFetch Mode when using case-sensitive queries will be included in the next UniDAC build.

Re: SmartFetch and case sensitivity

Posted: Fri 05 Jun 2015 13:05
by bogdan
YES! :)

Thank you very much!

Re: SmartFetch and case sensitivity

Posted: Tue 23 Jun 2015 09:34
by ViktorV
The new UniDAC build with a fix for UniDAC functioning in SmartFetch Mode when using case-sensitive queries are available for download now.