unidac and fetchall

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
lao
Posts: 71
Joined: Wed 10 Dec 2008 10:56

unidac and fetchall

Post by lao » Tue 22 Dec 2009 20:31

Fetchall is false by default for interbase and true for postgresql.
When we migrate from interbase to postgresql, all querys and tables in the the project are changed the fetchall to true.
It is better if the default properties are sames for all providers.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 23 Dec 2009 13:04

By default UniDAC uses optimal way for each provider. For InterBase optimal is FetchAll=False. For PostgreSQL this mode requires an active transaction or additional connection. So PostgreSQL uses FetchAll=True by default.

Post Reply