On Wed, 6 Feb 2008 05:57:38 -0800 (PST)
maxi <[EMAIL PROTECTED]> 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.
-- 
nickname: Lele Gaifax    | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas    | comincerò ad aver paura di chi mi copia.
[EMAIL PROTECTED] |                 -- Fortunato Depero, 1929.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to