Subject Re: [IBO] Does IBO have connection pooling?
Author Lester Caine
> Jason,
> 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;

Don't need GetConnection, just Connect normally

> Try
> //do stuff with the connection
> finally
> am_msg_server.thepoolmod.con_broker.ReleaseConnection(ibdatabase);
> end;

In IBO you simply call 'DisconnectToPool' rather than
'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 will
> not support future versions of Firebird.

It doesn't support some of the current stuff <g>

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services