Inserting into a database

Stephen Hansen apt.shansen at gmail.com
Mon Oct 12 06:17:41 CEST 2009


On Sun, Oct 11, 2009 at 8:56 PM, Dennis Lee Bieber <wlfraed at ix.netcom.com>wrote:

> On Sun, 11 Oct 2009 17:00:42 -0700, Stephen Hansen
> <apt.shansen at gmail.com> declaimed the following in
> gmane.comp.python.general: >
> > Otherwise, the only thing anyone will be able to do is guess wildly.
> Which
> > no one is likely to do :)
> >
>         Actually, I will...
>
>        I predict the OP forgot to call .commit() on the database
> connection... So once the connection was closed, it did a rollback on
> the inserts -- so they never took place <G>
>

Showoff. :)

--S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091011/994aaaa5/attachment.html>


More information about the Python-list mailing list