Lukasz,

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

Tom Wang
Panscopic Corporation
Web Reporting, Just Add Data
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]>
>
>


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

Reply via email to