RetryMode:= rmReconnect

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
halenpolen
Posts: 31
Joined: Sun 27 Jun 2010 20:50

RetryMode:= rmReconnect

Post by halenpolen » Fri 05 Nov 2010 08:12

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???

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Fri 05 Nov 2010 13:36

Hello,

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

halenpolen
Posts: 31
Joined: Sun 27 Jun 2010 20:50

Post by halenpolen » Mon 08 Nov 2010 07:32

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

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Tue 16 Nov 2010 10:23

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.

Post Reply