Hi Philip,

That worked great.

I modified the script as you had indicated

from sqlalchemy.ext.sqlsoup import Session
..
..
..

Session.commit()
db.flush()

and it persisted successfully.

I have submitted ticket #1503 as a defect regarding this issue.
Please indicate if you believe further action should be taken.

Thanks a bunch,
Lysander David

--- On Thu, 8/13/09, Philip Jenvey <pjen...@underboss.org> wrote:

From: Philip Jenvey <pjen...@underboss.org>
Subject: [sqlalchemy] Re: Fwd: sql soup not persisting insert
To: sqlalchemy@googlegroups.com
Date: Thursday, August 13, 2009, 7:47 AM



On Aug 12, 2009, at 12:23 AM, Lilian David wrote:

> Hi,
>
> The attached script doesn't persist a sqlsoup insert.
> Would anyone happen to know what must be changed in the script to  
> allow the insert to be persisted ?

from sqlalchemy.ext.sqlsoup import Session
Session.commit()

This was brought up before:

http://markmail.org/message/uqpf43qvibxfmaza

We should probably add a commit method and friends to sqlsoup like  
that post suggested. Care to log a ticket about this?

--
Philip Jenvey






      
--~--~---------~--~----~------------~-------~--~----~
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 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to