RefreshRecord loads **ALL** records again
Posted: Tue 18 Dec 2007 19:23
Hello!
I'm trying IBDAC in a multi-tier application with D2007. I'm using IBCQuery, DataSetProvider on Server. On the Client side, a SocketConnection and a ClientDataSet component.
The problem begin with slow updates. I use DBMonitor to check what happen and...
1. When I issue a ApplyUpdates on my ClientDataset, the IBCQuery on Server loads all records again before UPDATE.
2. After the ApplyUpdates I issue a RefreshRecord to refresh data modified by triggers on the update process. Again, IBCQuery loads all data.
I configured the IBCQuery with SELECT, INSERT, UPDATE, DELETE, LOCK and REFRESH queryes, but when a RefreshRecord is issued, it runs SELECT script, but not the REFRESH script.
There is a configuration to workaround this?
Thanks in advance,
Elieser
I'm trying IBDAC in a multi-tier application with D2007. I'm using IBCQuery, DataSetProvider on Server. On the Client side, a SocketConnection and a ClientDataSet component.
The problem begin with slow updates. I use DBMonitor to check what happen and...
1. When I issue a ApplyUpdates on my ClientDataset, the IBCQuery on Server loads all records again before UPDATE.
2. After the ApplyUpdates I issue a RefreshRecord to refresh data modified by triggers on the update process. Again, IBCQuery loads all data.
I configured the IBCQuery with SELECT, INSERT, UPDATE, DELETE, LOCK and REFRESH queryes, but when a RefreshRecord is issued, it runs SELECT script, but not the REFRESH script.
There is a configuration to workaround this?
Thanks in advance,
Elieser