Removed SpecificOptions

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ael
Posts: 33
Joined: Mon 12 Sep 2011 14:54

Removed SpecificOptions

Post by ael » Tue 14 Oct 2014 07:05

Hello,

We recently updated UniDAC to 5.5.12 and I noticed a bunch of specific options were removed.

Have these options been moved elsewhere or are not needed anymore?

1- PostgreSQL doesn't support TUniSQL.SpecificOptions.Values['AutoCommit']

2- MS SQL Server doesn't support TUniConnection.SpecificOptions.Values['Charset'] and TUniConnection.SpecificOptions.Values['UseUnicode']

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

Re: Removed SpecificOptions

Post by AlexP » Tue 14 Oct 2014 08:27

Hello,

There are no and never were such options in PostgreSQLUniProvider and SQLServerUniProvider. You can find the list of available options in the documentation:
http://www.devart.com/unidac/docs/pgsqlprov_article.htm , http://www.devart.com/unidac/docs/sqlprov_article.htm.
In the new version we have introduced a check for SpecificOptions and their values. Now, when you try to use a non-existent option, or assign an invalid value, you will receive an error message.

ael
Posts: 33
Joined: Mon 12 Sep 2011 14:54

Re: Removed SpecificOptions

Post by ael » Tue 14 Oct 2014 08:48

In the new version we have introduced a check for SpecificOptions and their values. Now, when you try to use a non-existent option, or assign an invalid value, you will receive an error message.
Ok, it explains everything, my mistake. Thanks a lot for the clarification.

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

Re: Removed SpecificOptions

Post by AlexP » Tue 14 Oct 2014 09:41

If you have any further questions, feel free to contact us.

Post Reply