[ZODB-Dev] savepoint bug

Edward Moy emoy at apple.com
Thu Jul 15 16:24:33 EDT 2004


Great!  I'll have to give it a try.

Thanks,
Ed

On Jul 15, 2004, at 1:17 PM, Christian Robottom Reis wrote:

> On Thu, Jul 15, 2004 at 01:00:55PM -0700, Edward Moy wrote:
>> Another wish-list feature would be the ability to have multiple 
>> "views"
>> of the same database.  It would be incredibly useful to me if each 
>> view
>> could be modified separately, and each rolled back with savepoints,
>> even if no view could be committed.
>
> If I understand your request, thanks to Shane we have this today. If
> you call connection.setLocalTransaction() (or the 3.3-HEAD equivalent)
> you can open multiple connections (via multiple db.open() calls) and do
> completely separate transactions in each connection.
>
> This means that you can have, in-process, without threads, multiple
> parallel changes being evaluated at once, and choose whether to commit
> one, some or none. Of course, you are still subject to conflicting in
> the case of changing shared resources. Nevertheless, this was a killer
> feature for our GUI appliciation.
>
> Take care,
> --
> Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 
> 2331



More information about the ZODB-Dev mailing list