🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #689

MIDAS & MTS

#689
From: ��len TOZKOPARAN
Date: Thu, 26 Apr 2001 05:16
32 lines
1955 bytes
Hello,
I Have a few questions regarding MTS and MIDAS.
I Have developed some MTS components (Remote DataModules) and installed them
in MTS environment.
Basically When I want to fetch Data from My remot DataModule, I Send an SQL
Statement to the MTS objects
whichs changes SQL property of the QUeryobject in the RDM and the use a
TClientDataSet to get
the data from the DataSet Provider.
Basically I have the following lines of codes..

// Conect to AppServer
.....
MyRDMDisp.SetSql(SqlStmt);
MyClientDataSet->Open();

......

// Release Connection

This seems to work well. However,  Since MIDAS 3 allows to write Stateless
Applications, Then I thought that
What I have been doing is totally in correct amy may cause troubles.
Since,  after I clas MyRdmDisp.SetSql(..) MTS  should release my Object
Reference  whcih causes
MyClientDataSet->Open() statement to be directed toanother MTS Object...

Do I think correct. and shoul modify my MTS Components and ClientDataSets so
that
I Fetch Data using TClientDataSet's CommandText property.

Thanks
Technical Details
Message-ID: <3ae7229b$1_2@dnews>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,2df6f372f1b10480,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-04-25 12:50:05 PST
From: "��len TOZKOPARAN" <solent@turk.net>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: MIDAS & MTS
Date: Wed, 25 Apr 2001 22:16:55 -0700
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 195.214.156.236
Message-ID: <3ae7229b$1_2@dnews>
X-Trace: dnews 988226203 195.214.156.236 (25 Apr 2001 12:16:43 -0700)
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews