Subject | DML Caching with TDataset compatible IBO components |
---|---|
Author | Thomas Steinmaurer |
Post date | 2004-06-07T18:50:10Z |
Hi all,
I'm in process of writing a small wrapper component that
allows to adjust the DML Caching stuff of a TIBOQuery by
using InternalDataset.
Some problems arised during testing, namely DML Caching
for a TIBOQuery doesn't work for edit and delete
operations. I've nailed the edit problem down to the
method TIB_Statement.ProcessLinkEvent (...), line 24155
in IB_Components.pas
When using DML Caching with TIBOQuery, then StatementLinkCount
is always 0, whereas with a native TIB_Query it is 1, and
so it will proceed down to ProcessEvent(...). Dunno right
now about the problem with delete operations.
Well, that issue isn't really pressing for me, I only
thought some people might be interesting in that wrapper
component, because they have asked how to use DML
Caching with non-native IBO access components.
Has anybody tried to use DML Caching with IBO TDataset
components by using InternalDataset?
I'm using Delphi 6 Prof. and IBO 4.3Aa.
Thanks,
Thomas Steinmaurer
LogManager Serie - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database and MS SQL Server
Upscene Productions
http://www.upscene.com
I'm in process of writing a small wrapper component that
allows to adjust the DML Caching stuff of a TIBOQuery by
using InternalDataset.
Some problems arised during testing, namely DML Caching
for a TIBOQuery doesn't work for edit and delete
operations. I've nailed the edit problem down to the
method TIB_Statement.ProcessLinkEvent (...), line 24155
in IB_Components.pas
When using DML Caching with TIBOQuery, then StatementLinkCount
is always 0, whereas with a native TIB_Query it is 1, and
so it will proceed down to ProcessEvent(...). Dunno right
now about the problem with delete operations.
Well, that issue isn't really pressing for me, I only
thought some people might be interesting in that wrapper
component, because they have asked how to use DML
Caching with non-native IBO access components.
Has anybody tried to use DML Caching with IBO TDataset
components by using InternalDataset?
I'm using Delphi 6 Prof. and IBO 4.3Aa.
Thanks,
Thomas Steinmaurer
LogManager Serie - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database and MS SQL Server
Upscene Productions
http://www.upscene.com