Subject | Re: [IBO] Does IBO have connection pooling? |
---|---|
Author | Lester Caine |
Post date | 2002-09-25T06:19:59Z |
> Jason,Don't need GetConnection, just Connect normally
> do you have a small example? Some code snippets?
> I am kind of confused on how it works with IBO.
>
> Ibdatabase:=am_msg_server.thepoolmod.con_broker.GetConnection;
> userq.Database:=ibdatabase;
> ibtrans.DefaultDatabase:=ibdatabase;
> TryIn IBO you simply call 'DisconnectToPool' rather than
> //do stuff with the connection
> finally
> am_msg_server.thepoolmod.con_broker.ReleaseConnection(ibdatabase);
> end;
'Disconnect' ( or ReleaseConnection ) and IBO saves the
connection to the pool and will use it again when you try
and reopen a connection with 'Connect'. IBO was there first.
> I for sure want to use IBO in the future because IBX willIt doesn't support some of the current stuff <g>
> not support future versions of Firebird.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services