On Apr 30, 2008, at 11:22 AM, David Bonner wrote:
> > When this code drops me into pdb, the data in instance.notes looks > like the new value, but querying the db in a separate process gets me > the old value. flush() always uses a transaction, so when your pdb process hits, the transaction has not been committed yet and results are not visible outside of the transaction. the "transactional" keyword on Session does not mean "don't use transactions at all", it means "don't automatically enter a transaction outside of a flush". Its been renamed to "autocommit" in 0.5. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---