Subject | Re[2]: [firebird-support] OIT / NT |
---|---|
Author | Dmitry Kuzmenko |
Post date | 2012-04-02T06:45:26Z |
Hello, Tiberiu!
Monday, April 2, 2012, 10:33:43 AM, you wrote:
TH> should I use TACommit as default action for TIBTransaction ?
TH> object trans: TIBTransaction
TH> DefaultDatabase = database
TH> DefaultAction = TACommitRetaining
DefaultAction how to end transaction, when
IdleTimer is out (and greater than 0). Also DefaultAction
defines how active transaction will end when IBDatabase is being
closed.
So, DefaultAction = taCommitRetaining - is really nonsense.
It must be taCommit or taRollback. And better is - taRollback
due to logic I described above.
What you need, is to set AllowAutoStart=False for all transactions
you have.
Have you tried to read translated www.ibase.ru/devinfo/ibx.htm ?
Seems no.
--
Dmitry Kuzmenko, www.ib-aid.com
Monday, April 2, 2012, 10:33:43 AM, you wrote:
TH> should I use TACommit as default action for TIBTransaction ?
TH> object trans: TIBTransaction
TH> DefaultDatabase = database
TH> DefaultAction = TACommitRetaining
DefaultAction how to end transaction, when
IdleTimer is out (and greater than 0). Also DefaultAction
defines how active transaction will end when IBDatabase is being
closed.
So, DefaultAction = taCommitRetaining - is really nonsense.
It must be taCommit or taRollback. And better is - taRollback
due to logic I described above.
What you need, is to set AllowAutoStart=False for all transactions
you have.
Have you tried to read translated www.ibase.ru/devinfo/ibx.htm ?
Seems no.
--
Dmitry Kuzmenko, www.ib-aid.com