Ok thanks, that got it.  I appreciate the help.

Should I be changing all .flush() calls to .commit() with the latest
versions?  I've got autoflush=True set in the sessionmaker() call and
I thought that would do it.


On Aug 28, 3:00 am, "Gaetan de Menten" <[EMAIL PROTECTED]> wrote:
> On 8/28/07, Matt Culbreth <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Ok Folks,
>
> > Please sanity check me here.
>
> > I have a working module which works on the latest versions of Elixir
> > and SQLAlchemy.  Everything is cool.
>
> > I've now got that same module being included in a Pylons .96rc2 app.
>
> > All SELECTs() work fine.  No worries.
>
> > However when I create an object and do an objectstore.flush(), nothing
> > is written to the DB.  I've turned on echoing and I can see the
> > INSERTs going across, but nothing ever gets written to the DB.  No
> > error messages either.
>
> > Any ideas here?  Any suggestions for debugging?
>
> This pretty much sounds like a transaction-not-being-committed
> problem. With latest SA trunk, and depending on how you (or Pylons)
> set up your Session factory, you'll probably need to replace your
> objectstore.flush calls to objectstore.commit...
>
> --
> Gaƫtan de Mentenhttp://openhex.org


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to