Thanks Jiri! This is very helpful.

> Well, I suppose you know how connection pooling works. 

In principle, yes. In the specific case of FbConnection, is
connection pooling performed automatically? Or is is something
that I would need to configure and enable in my application?

That is, how do I know if I am using connection pooling?

> Active connections are closed 'cause are in pool too.

In my testing, I found that if I:
  - have an active connection
  - call FbConnection.ClearAllPools
  - then attempt to access that connection (that is, call an
    ADO.NET method on it)

then I would get "Object reference is not set to an instance of an object";
that is, it appeared that the active connections were left in an
internally-inconsistent state.

Do you think that is an expected behavior of ClearAllPools?

thanks,

bryan



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to