Subject | Re: [IBO] Two databases in same project |
---|---|
Author | Helen Borrie |
Post date | 2002-01-01T06:25Z |
At 04:53 AM 01-01-02 +0000, you wrote:
cheers,
Helen
>--- In IBObjects@y..., Helen Borrie <helebor@d...> wrote:Well, I don't know whether you need the transaction component...I'd assumed that, if your app had connections to two databases, it would be doing cross-database stuff.
>> Stan,
>>
>> Just another thought that occurred: You *are* using two
>TIBODatabase components...aren't you? And, if you want to have two-
>phase commit, you'll need to add a TIBOTransaction and set its
>ib_Connection and ib_Connection1 properties to IBODatabase1 and
>IBODatabase2 respectively. Then, when doing an operation across
>database boundaries, explicitly use this transaction, not the
>DefaultTransactions that are embedded in the database components...
>>
>> H.
>
>Yes I am. When I do any operation, it will in one database or
>another, never both. Do I still need the transaction component? I am
>still just trying to convert to IBObjects and don't want to get
>bogged down with transactions, yet. My project has almost 300 units
>in it and I probably haven't even checked 10% yet.
cheers,
Helen