Subject Re: [IBO] strange behaviour: Test.gdb
Author kjteng@maxis.net.my
After studying the source code, I think it may not be a bug but just
a change in the design.
I noted that in version 3.5Dg, commit/rollback would only close the
dataset in two situation:
1. when refreshAction = raOpen
2. when refreshAction <> raOpen but the cursor is open. This is what
confused me earlier: commit/rollback close the dataset when the query
was first open (cursorIsOpen). However, commit/rollback would not
close the dataset once I scroll down to the last record (cursorisopen
= false).

Is the above observation correct? If so, may be some of the tutorials
should be updated as the explanations in the tutorials are based on
the earlier version of ibobjects (i.e. dataset always closed after
commit/rollback).





--- 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/
> >
> >