Also, I think we're going to change the name of that exception.  its  
not necessarily "Concurrent" modification...Hibernate calls it  
"StaleStateException" which might be better.

On Oct 1, 2007, at 7:25 PM, Dan Eloff wrote:

>
> ConcurrentModificationError: Deleted rowcount 3 does not match number
> of objects deleted 1
>
> raised by this code:
>
> with Session() as session:
>                 dl = session.merge(dl)
>                 session.delete(dl)
>
> There are no other sessions alive, so how can that possibly be a
> concurrent modification?
>
> Using sqlalchemy 0.4 beta 5, python 2.5, sqllite.
>
> dl has a many-to-many relationship associated with it.
>
> Any ideas why this is happening?
>
> Thanks,
> -Dan
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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