Subject Re: [IBO] strange behaviour: Test.gdb
Author kjteng@maxis.net.my
After studying the source (both 3.5cd and 3.5dg), I think it may not
be a bug but just a change in design.

I found that for version 3.5dg commit/rollback methods will only
close the dataset (where CommitAction = caClose) if --
1 (refreshAction = raOpen) OR
2 CursorIsOpen

If refreshAction <> raOpen, Commit will only close the dataset before
the last item of the dataset is loaded into the tib_grid.

Is my observation above correct? If so, may be the tutorial should be
updated as it is still based on the behaviour of version 3.5cd.

Thanks

kjteng





--- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> What is the RefreshAction of the query? If it is raOpen then I too
suspect
> it could be a bug.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
> ----- Original Message -----
> From: <kjteng@m...>
> To: <IBObjects@y...>
> Sent: Wednesday, May 23, 2001 12:54 AM
> Subject: Re: [IBO] strange behaviour: Test.gdb
>
>
> > > Nothing, look at CommitAction of the IB_Query.
> >
> > I think the problem has nothing to do with CommitAction. I have
> > tested it. Commit only close the dataset on employee.gdb but not
> > test.gdb (all other the settings are the same).
> >
> > After spending the whole of this morning on testing, I discover
that
> > this problem does NOT occurs in version 3.6CD, it only happen in
> > 3.6De and 3.5Dg.
> >
> > Now I suspect it is a bug.
> >
> >
> > > Transaction.TimeoutProps.
> > Which property of timeoutProps ? I thought the setting of
> > timeourptops will only affect when to end the transaction. How
does
> > it cause the dataset to be refreshed?
> >
> > kjteng
> >
> >
> > --- In IBObjects@y..., guido.klapperich@t... wrote:
> > > > I have problem with the database created by the
> > TransactionTutorial
> > > > program (TransactionsHandling directory): Whenever I
> > commit/rollback
> > > > a transaction, the dataset is not closed. In other words,
commit
> > and
> > > > commitRetaining has the same effect.
> > > >
> > > > I wrote another program (similar to TransactionTutorial,
except
> > that
> > > > it allow me to choose the database and table to work on) and I
> > > > noticed that the same problem occurs on Test.gdb. However,
when I
> > try
> > > > the program on employee.gdb, the commit/rollover work
correctly.
> > > >
> > > > Can anyone tell me what has gone wrong?
> > > >
> > > >
> > > > Thanks in advance
> > > >
> > > > kjteng
> > > >
> > > > P/S: Can someone help me on Message 7160 (How does
TransactionOAT
> > > > tutorial program makes the dataset refresh automatically)
> > > >
> > >
> > > Transaction.TimeoutProps.
> > >
> > >
> > > Guido
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >