Subject | Re: [IBO] Does IBO have connection pooling? |
---|---|
Author | mp527 |
Post date | 2002-09-24T21:02:23Z |
Jason,
do you have a small example? Some code snippets?
I am kind of confused on how it works with IBO.
In IBX I do this
Ibdatabase:=am_msg_server.thepoolmod.con_broker.GetConnection;
userq.Database:=ibdatabase;
ibtrans.DefaultDatabase:=ibdatabase;
Try
//do stuff with the connection
finally
am_msg_server.thepoolmod.con_broker.ReleaseConnection(ibdatabase);
end;
I for sure want to use IBO in the future because IBX will not
support future versions of Firebird.
Thanks,
Tony Caduto
do you have a small example? Some code snippets?
I am kind of confused on how it works with IBO.
In IBX I do this
Ibdatabase:=am_msg_server.thepoolmod.con_broker.GetConnection;
userq.Database:=ibdatabase;
ibtrans.DefaultDatabase:=ibdatabase;
Try
//do stuff with the connection
finally
am_msg_server.thepoolmod.con_broker.ReleaseConnection(ibdatabase);
end;
I for sure want to use IBO in the future because IBX will not
support future versions of Firebird.
Thanks,
Tony Caduto
> IN IBO you simply call DisconnectToPool and IBO does the restwhere pooling
> is concerned.
>
>