Subject RE: [IBO] DML Caching with TDataset compatible IBO components
Author Jason Wharton
I've been thinking about simply surfacing the necessary stuff right into
TIBODataset. If you would like to go that route I'll get the changes into
the next sub-release.

Jason Wharton
www.ibobjects.com

-----Original Message-----
From: Thomas Steinmaurer [mailto:ts@...]
Sent: Monday, June 07, 2004 11:50 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] DML Caching with TDataset compatible IBO components


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




___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links