connection transaction questions (since update to 5.5.11)
Posted: Mon 06 Oct 2014 16:22
We just upgraded to 5.5.11
and have begun regression testing our apps - first with Firebird.
It seems several UNIDAC changes affect how transactions are handled.
More flexibility is good.
We find that the Connection InTransaction property is now generally
True after opening a Query - that shouldn't affect too many people.
[b]But if you close the dataset the connection remains that way,
inTransaction=TRUE.[/b]
I tried a variety of autocommit and autoclose specificoptions but
have been unable to change this behavior.
We have thousands of queries occuring, many embedded within manually controlled
transactions, so we are getting errors and loss of transaction control
when a simple open+close starts a permanent transaction.
I must be missing something.
I read about the oldtransactionbehavior global - is that how we can
regain control of transactions?
(We do understand the old behavior was to employ an internal transaction for
each db action & that was how we built everything - [i]expecting autocommit
unless we were doing it manually[/i]).
We are on hold till we get this smoothed out.
thanks,
tonyM
ClearCycle Inc.
ps. The same apps work with ms sql and oracle as well so we have
to maintain the same action for all.
and have begun regression testing our apps - first with Firebird.
It seems several UNIDAC changes affect how transactions are handled.
More flexibility is good.
We find that the Connection InTransaction property is now generally
True after opening a Query - that shouldn't affect too many people.
[b]But if you close the dataset the connection remains that way,
inTransaction=TRUE.[/b]
I tried a variety of autocommit and autoclose specificoptions but
have been unable to change this behavior.
We have thousands of queries occuring, many embedded within manually controlled
transactions, so we are getting errors and loss of transaction control
when a simple open+close starts a permanent transaction.
I must be missing something.
I read about the oldtransactionbehavior global - is that how we can
regain control of transactions?
(We do understand the old behavior was to employ an internal transaction for
each db action & that was how we built everything - [i]expecting autocommit
unless we were doing it manually[/i]).
We are on hold till we get this smoothed out.
thanks,
tonyM
ClearCycle Inc.
ps. The same apps work with ms sql and oracle as well so we have
to maintain the same action for all.