iOS error SQLite

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
isysoftware
Posts: 44
Joined: Wed 14 Nov 2012 17:33

iOS error SQLite

Post by isysoftware » Thu 25 Sep 2014 15:58

Hi All,
version 5.5.11

I have deployed my app on my iPhone.
I have this error accessing SQLite DB:
" Myconnection.SpecificOptions.Strings: "Direct" is not a valid option name for SQLite UniProvider".

Any suggestions?

Thanks, Flavio

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

Re: iOS error SQLite

Post by AlexP » Fri 26 Sep 2014 08:23

Hello,

The Direct mode is supported for Windows platforms only.

wjjw73
Posts: 22
Joined: Fri 17 Aug 2012 09:51

Re: iOS error SQLite

Post by wjjw73 » Sat 27 Sep 2014 20:41

Hello!

I had the same problem. This property was working in the previous version of UniDAC.
To fix it I removed the definition in the source code of the data module.

I hope this will help you,
greetings,
Werner

wjjw73
Posts: 22
Joined: Fri 17 Aug 2012 09:51

Re: iOS error SQLite

Post by wjjw73 » Sun 28 Sep 2014 16:19

@AlexP: It would we good if this property would be also available for non Windows environment - because in by project I created a desktop version and a mobile version but use the same data module. Now I have to set it "manually" in the code depending on the environment. So perhaps it would be good to just ignore the property outside Windows world (like it was before).

Best regards,
Werner

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

Re: iOS error SQLite

Post by AlexP » Mon 29 Sep 2014 10:58

Hello,

The previous behavior was incorrect, since users set the property and thought they were working in the Direct mode, but in fact the library was used. Therefore we have added validation of all the properties to inform users about incorrect options or their values

Post Reply