Article View: borland.public.cppbuilder.database.multi-tier
Article #1476Re: Multi connection to database
From: fang
Date: Wed, 22 Sep 1999 00:00
Date: Wed, 22 Sep 1999 00:00
42 lines
1913 bytes
1913 bytes
I can make the database connections work now. But other problems arrise: The program act as a server to listen connection from remote senders. For each seperate connection, at start time, the program create a new thread which then creates a new database and asession, then update database according to the received data. Then disconnect from the database and destory the session. The problem is, the program can not responsible in time because create and connect database and session is quite slow. Fang J�r�me Piquot <wolff@media-net.fr> wrote in message news:7s7u54$rkr4@forums.borland.com... > what do you mean by do not work? do you have an error message? > > -- > > ----------------------------------------------------------------- > PIQUOT J�r�me > A. WOLFF SA > 6, rue de la Gare > 67120 ERNOLSHEIM/BRUCHE > FRANCE > e-mail: wolff@media-net.fr > http://www.media-net.fr/wolff > ----------------------------------------------------------------- > fang <fang@singstar.com.sg> a �crit dans le message : > 7s7kt8$nru8@forums.borland.com... > > I met problems when I dynamiliclly create TSessions and TDatabase to query > > one database. The first database works well, > > but when set Connected = true for second database, it does not work. So > what > > should I do? > > > > > >
Technical Details
Message-ID:
<7s9iki$bvs2@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7s7kt8$nru8@forums.borland.com> <7s7u54$rkr4@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: fcd2b,7e65d34ec67ed6ce X-Google-Attributes: gidfcd2b,public From: "fang" <fang@singstar.com.sg> Subject: Re: Multi connection to database Date: 1999/09/22 Message-ID: <7s9iki$bvs2@forums.borland.com> X-Deja-AN: 528087655 References: <7s7kt8$nru8@forums.borland.com> <7s7u54$rkr4@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.cppbuilder.database.multi-tier