Subject | Re: [IBO] Some help with thread-safe access |
---|---|
Author | Thomas Steinmaurer |
Post date | 2008-02-06T08:14:27Z |
> A Connection pool is a collection of allready connected ConnectionsYou could investigate the DisconnectToPool method.
> (Session and Transactions and perhaps Cursors), that you can use in a
> thread.
> If you use one connection of a pool you check it out (mark it as
> reserved). After using you put it back to the pool (mark it as free for
> using).
> You do everything with a connection pool manager.
> It will create more connections if every connection is in use.
> Normally until the maximum number of connections is reached.
>
> Java has some inbuild classes for connection pooling.
> @Jason (@Helen): Is there anything in IB Object for pooling?
From the IBO Online FAQ
Q: How can I implement connection pooling that you talk about in IBO 4?
A: Just use the DisconnectToPool method and IBO will take care of the
rest. (Jason Wharton)
--
Best Regards,
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and
NexusDB V2
Upscene Productions
http://www.upscene.com