FireBird and AutoConnect and Auto Start Transaction.
Posted: Fri 29 May 2015 00:30
Hi,
I have the following components TUniConnection,TUniTransaction,TUniQuery.
TUniConnection.DefaultTransaction->TUniTransaction
TUniQuery.Connection->TUniConnection
TUniConnection.Connected is set to false.
TUniConnection.AllowImplicitConnect is set to false.
When I Execute the TUniQuery, the UniConnection.Connected is set to true and a transaction is started.
How I can avoid the above? when executing a UniQuery and UniConnection is not active and/or no transaction active, I want to get a exception no a autoconnect or auto transaction start.
Any advice?
Thanks in advance,
Omar Zelaya
I have the following components TUniConnection,TUniTransaction,TUniQuery.
TUniConnection.DefaultTransaction->TUniTransaction
TUniQuery.Connection->TUniConnection
TUniConnection.Connected is set to false.
TUniConnection.AllowImplicitConnect is set to false.
When I Execute the TUniQuery, the UniConnection.Connected is set to true and a transaction is started.
How I can avoid the above? when executing a UniQuery and UniConnection is not active and/or no transaction active, I want to get a exception no a autoconnect or auto transaction start.
Any advice?
Thanks in advance,
Omar Zelaya