Tuesday, August 27, 2002, 10:08:04 PM, you wrote:

TW> Lukasz,

TW> The database connections are completely hidden by each store implementation.
TW> I suggest you can modify the store impl (e.g. J2EEDescriptorsStore) and add
TW> a pointer to the connection in the thread context.  This way you can
TW> retrieve the same connection used by Slide store from the thread context
TW> when updating your own data.

Thanks for idea. It looks like a major hack ;)  I was also thinking
about plugging my own TransactionManager (or my own Transaction, not
sure yet). Does this sound feasible to you?

TW> Tom Wang
TW> Panscopic Corporation
TW> Web Reporting, Just Add Data
TW> http://www.panscopic.com/


>> -----Original Message-----
>> From: Lukasz Kowalczyk [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, August 27, 2002 7:40 AM
>> To: [EMAIL PROTECTED]
>> Subject: Using Slide transaction's connection
>>
>>
>> I have a few tables in the same database that Slide keeps its tables
>> in and those tables are updated together with modifications in Slide's
>> repository.
>>
>> I need to keep changes to Slide and to my tables in synchronization.
>> My first thought was to use 2-phase commit but PostgreSQL doesn't
>> support it and I don't know of any other free RDBMS which does (and
>> which runs on Windows).
>>
>> Having explained this - is there a way to obtain Slide's connection to
>> the database after calling NamespaceAccessToken.begin()? This way I
>> could rollback or commit all changes at once.
>>
>> --
>> Łukasz Kowalczyk
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>>
>>


TW> --
TW> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
TW> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




-- 
Łukasz Kowalczyk


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to