[ZODB-Dev] transacting multiple databases
Christian Reis
kiko@async.com.br
Wed, 11 Dec 2002 09:51:04 -0200
On Tue, Dec 10, 2002 at 09:51:46AM -0500, Shane Hathaway wrote:
> It will be easy to get everything working together with mounting,
> though. In addition to the setLocalTransaction() method, we might have
> a setTransaction() method which lets the mounting machinery put both
> connections in the same transaction. Or perhaps we could make
> connections aware of when they are mounted and pull the transaction from
> their parent automatically. Hmm, for better encapsulation, the second
> option seems best, since right now we're stuffing an extra attribute in
> the mounted connection anyway.
>
> I think the next step is to decide whether the setLocalTransaction()
> code ought to be merged into mainline ZODB. I'd be happy to do it with
> Jeremy's approval. (Jeremy, are you reading?)
+1 for this!
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL