SQLAlchemyDA vermehr doppelte einträge beim Einf ügen

Vladislav Vorobiev <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hallo,

wir betreiben hier einige online-shops unter Verwendung von mysql-datenbank.
Seit der Umstellung auf Products.SQLAlchemyDA als Datenbankadapter
kommt es vermehrt zu Doppelten Einträgen bei einer Berstellung.

Bei eine Bestellung schreiben also mehrere  in die Datenbank.

db.addSQL1()
db.addSQL2()
db.addSQL3()

return self.REQUEST.RESPONSE.redirect(xxxx)

Der Shop steht nicht unter last, ca. 10 Bestellungen pro Stunde.  Von
den 10 Bestellungen ist mindestens eine Doppelt. Vermutlich hat es
etwas mit den Transaktionen auf sich. Der Code ist einfach, deshalb
weiß ich nicht wirklich wo man suchen sollte.

Hat jemand eine Idee wie man es optimieren könnte. Mysql Server ist in
der 5.1.48-1 Version.

-- 
Best Regards
Vlad Vorobiev


_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.