> > I'm sorry that I can't be of help here anymore - because for errors of that
> > kind, we threw away zope.transaction & just rolled out our own (extremely
> > simple) transaction management.
>
> > But I suggest you google this group & sqlalchemy about these problems, AFAIK
> > they cropped up before.
This sound familiar to me. I forgot the link to the post but I made
comments in my code:
DBSession.query(Emp).filter(Emp.title==None).delete() #dummy
"bulk" delete
#DBSession.commit() #must use transaction manager?
#But autocommit=True in model.__init__
import transaction
transaction.commit() #thanks David Broudy
Search for David Broudy in the newsgroup maybe.
Hope is helps.
--
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en.