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 

Weird MIDAS/DataSnap behavior...

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





PostPosted: Wed Dec 29, 2004 4:41 pm    Post subject: Weird MIDAS/DataSnap behavior... Reply with quote



Hello all,

We have a legacy app that was created with C++Builder 5 and used MIDAS to
communicate with an MTS/COM+ middle-tier component. We had to build a
completely stateless client because our server was atually part of a
cluster and we had to be able to fail over to any of the machines in the
cluster.

We used a lot of code like this (assume that "dc" is the DCOMConnection
component):

dc->Open();
cdsFoo->Close();
cdsFoo->Params->ParamValues["some_key"] = SomeValue;
cdsFoo->Open();
dc->Close();

This code worked just fine in BCB5. However, we have been trying to
upgrade to BCB6 and I have discovered that this no longer works! The
client dataset just keeps fetching the initial records over and over
again, regardless of what you change the parameter to in successive
queries. I remember talking to Borland about this when BCB6 first came
out, but we have just applied the Patch #4, and the problem remains.

I have verified that if we maintain a stateful connection (i.e., always-
on) to the server, the retrieves work as expected. It's only in this
"disconnected" model that the problem appears.

My question is: is this a bug in MIDAS/DataSnap, or is DataSnap
*supposed* to be stateful regarding an "always-on" connection to the
middle-tier? If it *is* a bug, is Borland planning to fix it?

Any info would be greatly appreciated.

Thanks,

mr_organic
Back to top
vavan
Guest





PostPosted: Thu Dec 30, 2004 8:38 am    Post subject: Re: Weird MIDAS/DataSnap behavior... Reply with quote



On 29 Dec 2004 08:41:02 -0800, "mr_organic"
<mr_organic (AT) yourmamashouse (DOT) com> wrote:

Quote:
Any info would be greatly appreciated.

I think you should ask datasnap related questions in appropriate
delphi group (well, I hope until we get single group for both lines of
products from borland) unless it is specific bcb problem (and it seems
not in your case)

good luck!

--
Vladimir Ulchenko aka vavan

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder 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.