Subject | Re: Re:[IBO] Re: Concurrency Isolation |
---|---|
Author | Jason Wharton |
Post date | 2002-11-21T22:58:49Z |
No, this is not what AutoCommit is about.
If you tell IBO you want a snapshot view of the database then you are taking
responsibility to Commit/Rollback your own transactions based upon the
desired view. This is one mode where there is no automatic transaction
closing. When in Concurrency isolation YOU are responsible to close your
transactions.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
If you tell IBO you want a snapshot view of the database then you are taking
responsibility to Commit/Rollback your own transactions based upon the
desired view. This is one mode where there is no automatic transaction
closing. When in Concurrency isolation YOU are responsible to close your
transactions.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "Daniel Rail" <daniel@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, November 21, 2002 1:59 PM
Subject: Re:[IBO] Re: Concurrency Isolation
> At 21/11/2002 02:46 PM, you wrote:
> >Hi Geraldo,
> >
> > > Yes, it is. If you don't commit the transaction, it will remail
> > > open and you'll be working with the first "photography" taken from >
> > the database.
> >
> >So, do I need to start an explicit transaction and then commit (or
> >rollback) it after the job is finished ? Or there is a way of doing this
> >without starting an explicit transaction ?
>
> Set TIB_Transaction.AutoCommit to True.
>
>
> Daniel Rail
> Senior System Engineer
> ACCRA Group Inc. (www.accra.ca)
> ACCRA Med Software Inc. (www.accramed.ca)