Article View: borland.public.cppbuilder.database.ado
Article #5537TADOConnection does not close connection on SQL Server until destroyed?
From: Piero Salandin
Date: Mon, 09 Apr 2001 10:03
Date: Mon, 09 Apr 2001 10:03
15 lines
1336 bytes
1336 bytes
C++Builder 5 Enterprise on W98 I tried the behaviour of a TADOConnection with MS Sql Server, and using the SQL Server Profiler I saw that the connection does not really closes when I issue a TADOConn->Close() but only when I end the application (and the DataModule is removed from memory). Anyone can explain me why? Thanks a lot -- Ing. Piero Salandin piero.salandin@libero.it
Technical Details
Message-ID:
<3ad1a320_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,563a3435b98cde2d,start X-Google-Attributes: gid10698b,public X-Google-Thread: f5cad,563a3435b98cde2d,start X-Google-Attributes: gidf5cad,public X-Google-ArrivalTime: 2001-04-09 05:04:04 PST From: "Piero Salandin" <piero.salandin@libero.it> Newsgroups: borland.public.cppbuilder.database.ado,borland.public.delphi.database.ado Subject: TADOConnection does not close connection on SQL Server until destroyed? Date: Mon, 9 Apr 2001 12:03:43 +0200 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 151.25.9.136 Message-ID: <3ad1a320_1@dnews> X-Trace: dnews 986817312 151.25.9.136 (9 Apr 2001 04:55:12 -0700) Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews