Subject | Re: [IBO] Does IBO have connection pooling? |
---|---|
Author | Jason Wharton |
Post date | 2002-09-25T17:19:13Z |
It's all built in. Just Connect normally.
Just remember to call DisconnectToPool and be aware of the need to flush
handles out of the pool if necessary. Can't remember the method I provided
for that. I don't remember things I can easily look up.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
Just remember to call DisconnectToPool and be aware of the need to flush
handles out of the pool if necessary. Can't remember the method I provided
for that. I don't remember things I can easily look up.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "mp527" <mp527@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, September 24, 2002 2:02 PM
Subject: Re: [IBO] Does IBO have connection pooling?
> 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
> file://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