BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OnReconcile called in a LOOP by Midas!

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Mehrdad
Guest





PostPosted: Sun Mar 25, 2007 5:11 pm    Post subject: OnReconcile called in a LOOP by Midas! Reply with quote



In a master-detail-subdetail datasnap solution, when deleting a detail
record causes an error from RDBMS, we may encounter some extrange behaviour
and possible AVs, Mismatch in datapacket, Operation not applicable or
Reconcile call back called in a loop.
The problem happens when you delete an existing subdetail and then delete
the detail of that subdetail and applyupdates - if there is an error packet
(say the detail is not deletable) we will be in trouble.

I am having this problem in D6.02 but it is the same in D7.01...
Back to top
Panayotis Papapostolou
Guest





PostPosted: Wed Mar 28, 2007 7:47 pm    Post subject: Re: OnReconcile called in a LOOP by Midas! Reply with quote



Mehrdad wrote:
Quote:
In a master-detail-subdetail datasnap solution, when deleting a detail
record causes an error from RDBMS, we may encounter some extrange behaviour
and possible AVs, Mismatch in datapacket, Operation not applicable or
Reconcile call back called in a loop.
The problem happens when you delete an existing subdetail and then delete
the detail of that subdetail and applyupdates - if there is an error packet
(say the detail is not deletable) we will be in trouble.

I am having this problem in D6.02 but it is the same in D7.01...



Consider adding Cascaded Deletes to the provider options.
Back to top
Mehrdad
Guest





PostPosted: Thu Mar 29, 2007 5:30 pm    Post subject: Re: OnReconcile called in a LOOP by Midas! Reply with quote



It is there...
But user may delete the subdetail by hand and then delete the detail record
(although cascade delete is enabled) and this is where the problem comes
out...

thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.