On 8/2/07, Bryan Pendleton <[EMAIL PROTECTED]> wrote: > That is, how do I know if I am using connection pooling?
Depend on parameter in connection string. "Pooling=false" or "Pooling=true". > > 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? IMO yes. Remember, that calling ClearAllPools in this case can be performance killer. > 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 > -- Jiri {x2} Cincura (Microsoft Student Partner) http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com ------------------------------------------------------------------------- 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