Subject Re: [ib-support] CommitRetaining then Rollback - are changes stored?
Author Stevio
The sequence is make changes, call CommitRetaining, call Rollback.

Should the changes be stored?

----- Original Message -----
From: "Alan McDonald" <alan@...>
To: <ib-support@yahoogroups.com>
Sent: Wednesday, August 21, 2002 1:23 PM
Subject: RE: [ib-support] CommitRetaining then Rollback - are changes
stored?


> If you've just called commitretaining... there's nothing to rollback.
> Not sure about the exact sequence you're using
> Alan
>
> > -----Original Message-----
> > From: Stevio [mailto:redeagle@...]
> > Sent: Wednesday, 21 August 2002 22:16
> > To: IB Support
> > Subject: [ib-support] CommitRetaining then Rollback - are changes
> > stored?
> >
> > I'm starting to get the hang on using transactions, and
> > understanding them,
> > but I have the following question.
> >
> > If I make changes to a record, then call CommitRetaining, then call
> > Rollback, should the initial changes be stored?
> >
> > I would say Yes, but my application seems to say no!
> >
> > The transaction properties are set to Read Committed (with
read_committed,
> > rec_version and nowait specified in the settings).