The connection pool is used by default. You can turn it off by including
"Pooling=false" in the connection string.

 

I also ran into that problem for restores and various other actions, and so,
just to be sure, I also do the following call to make sure that all
connections in any connection pool that is there is closed (after closing
the current connection):

 

FbConnection.ClearAllPools();

---------------------------
Dan Cooperstock
DONATION web site:  <http://www.FreeDonationSoftware.org>
http://www.FreeDonationSoftware.org
DONATION Support forums:  <http://forums.FreeDonationSoftware.org>
http://forums.FreeDonationSoftware.org
E-mail:  <mailto:[EMAIL PROTECTED]>
mailto:[EMAIL PROTECTED]
Home Phone: 416-423-9064

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
manish shukla
Sent: April 9, 2007 12:56 AM
To: For users and developers of the Firebird .NET providers
Subject: Re: [Firebird-net-provider] table limits

 

> Are you using connection pool?

 

No, I am not using connection pool, should I?


 

On 4/8/07, Jiri Cincura <[EMAIL PROTECTED]> wrote: 

manish shukla wrote:
> In an application, i am using embedded version. I am opening db,
> performing some operations, closing the connection, backing up and 
> restoring it. But restoring fails because db is still open, though have
> disposed connection. Any idea, how can i achieve this?

Are you using connection pool?

--
Jiri {x2} Cincura
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT 
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php
<http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to