I am using TCientDataSet to cache some data on client. It is filled from TOraQuery using TDataSetProvider. What are best setings of TOraQuery in this case ?
I set readonly = true
FetchAll = true because i want all records to be cached TClientDataSet.
If i try set UniDirectional = true FetchAll was reset to false.
TOraQuery and TClientDataSet
-
- Posts: 28
- Joined: Fri 28 Apr 2006 08:59
- Location: Czech Republic
- Contact:
-
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53
The best way is to set UniDirectional property to True. In that case TOraQuery component does not place fetched records in the internal buffer. So FetchAll and FetchRows properties are not used with UniDirectional. When UniDirectional is True, an application requires less memory and performance is improved.