Subject | Re: [ib-support] ib connection threading solutions |
---|---|
Author | Helen Borrie |
Post date | 2001-09-16T03:32:41Z |
At 10:54 PM 15-09-01 -0400, Doug Chamberlin wrote:
rgds,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>I would define an object (a singleton factory object) from which eachThe TIB_Connection class in IB Objects v. 4 provides this pooling architecture.
>transaction gets a connection. This request of the factory would normally
>be done just before the transaction is started. I presume you can find the
>right place to add this.
>
>That connection factory returns an unused one if it has one on hand or
>otherwise creates a new connection. Internally it keeps a list of
>connection references which are available and currently unused.
rgds,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________