3 messages in com.googlegroups.sqlalchemy[sqlalchemy] Re: Object list synchron...
FromSent OnAttachments
maxi06 Feb 2008 05:57 
Lele Gaifax06 Feb 2008 07:55 
maxi07 Feb 2008 04:03 
Subject:[sqlalchemy] Re: Object list synchronization
From:Lele Gaifax (le@nautilus.homeip.net)
Date:02/06/2008 07:55:58 AM
List:com.googlegroups.sqlalchemy

On Wed, 6 Feb 2008 05:57:38 -0800 (PST) maxi <maxi@gmail.com> wrote:

But I get this exception when I do session.save.

ConcurrentModificationError: Updated rowcount 1 does not match number of objects updated 6

This should be fixed in SA 0.4. For 0.3, I'd try to augment FBDialect (in `.../sqlalchemy/databases/firebird.py`) with the following method, that should disable the check on rowcount (which under FB is somewhat flaky):

def supports_sane_rowcount(self): return False

See also http://www.sqlalchemy.org/trac/ticket/370

hth, ciao, lele.