Preserving connection
From: Sander Verhagen (Verhagen_at_nonono.Sander.com)
Date: 07/23/04
- Next message: Paul Baker [MVP, Windows - SDK]: "Re: Microsoft Jet database engine"
- Previous message: Vassili: "ADO DBase"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 23 Jul 2004 11:55:19 +0200
Hi,
I have a VC++ application that through ADO connects with a SQL Server. The
SQL Server instance will, in many cases, be running on a different machine.
We envision that different machine often to be very distant and connected
through a VPN connection. All together I can't assume my database connection
to be there "forever" after I've created it on instantiating my application.
I could connect and disconnect surrounding each r/w action with the
database, but that sounds awfully heavy.
Most database connection implementations that I've had the chance to look
at, recently, seem to assume the database to be there forever, e.g. on the
same machine.
Could anyone tell me about or point me to an explanation on best practices
in this matter? The matter, once more perhaps, is that I want to have a way
to preserve a reliable connection to the database from my business logic's
point of view... how do I implement that in an ADO based database tier?
Thanks already,
Sander Verhagen
[ Verhagen@nonono.Sander.com ]
- Next message: Paul Baker [MVP, Windows - SDK]: "Re: Microsoft Jet database engine"
- Previous message: Vassili: "ADO DBase"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|