Subject Re: Attaching to more then one DB at a time
Author samcarleton
--- In firebird-support@yahoogroups.com, Tony Christiansen <tony@...>
wrote:
>
> I connect to two databases in an application. I just use a second
> TIBDatabase component for the second one.

Well, in the .Net world, Delpha world, and even Qt world, that works
great. Part of my world is the Apache DBD
<http://people.apache.org/%7Eniq/dbd.html> . There is no Firebird
provider for the DBD yet, so I will be writing one to suit my needs.

The default behavior for the DBD is one and only one connection to one
DB. The one connection is setup in the apache configuration file and
then connection pooling is used to manage the collection of connections.

I am sure I can implement a custom Firebird provider that allows
multiple connections. I am simply hoping for a way to "attach" to a
second Firebird DB through a SQL statement using the initial connection.
It will make my life much easier in implementing a DBD for Firebird.

Sam



[Non-text portions of this message have been removed]