Page 1 of 1

RetryMode:= rmReconnect

Posted: Fri 05 Nov 2010 08:12
by halenpolen
Hi i used this demo
Demos\Win32\Miscellaneous\FailOver,

when Tuniconnection call ConnectionConnectionLost Event
I set RetryMode:= rmReconnect

after that, if success to reconnect, tuniconnection call AfterConnect event
but Tuniconnection not call beforeconnect event
I think it not consistent design ????

if I open or close or refresh quMASTER ,the Tuniquery call AfterExecute event
but Tuniquery not call beforeExecute event
I think it confuse design???

Posted: Fri 05 Nov 2010 13:36
by AlexP
Hello,

Thank you for the information.
We have reproduced the problem.
We will notify you as soon as we have any results.

Posted: Mon 08 Nov 2010 07:32
by halenpolen
I hope the next Unidac
CALL more events

1.if I set RetryMode:= rmReconnectexecute after success reconnect
CALL Tuniquery.BeforeUpdateExecute again

2.if I run Tuniquery.refresh Call Tuniquery.BeforeUpdateExecute

Thx

Posted: Tue 16 Nov 2010 10:23
by bork
Hello

We added calling the BeforeExecute event for the Open and Refresh dataset operations. Also we fixed the Datail dataset refreshing after connection loss in the LocalFailover mode. And the OnConnectionLost event will be called for Master-Detail datasets in the LocalFailover mode. This fix will be included in the next UniDAC build.