Is there any way I can force a COMMIT within an exposed method ? I am using SqlAlchemy with PostgreSQL and I am creating a few records that I need to use for subsequent SELECTs within the same method. Although I do flush() them and get their assigned IDs, subsequent explicit SELECTs (using SA's select(), not the data mappers) fail to see the changes.
Alternatively, is there an easy way to turn off the transaction altogether for a specific method ? The workaround shown in [1] looks messy and error prone. George [1] http://groups.google.com/group/turbogears/tree/browse_frm/thread/a81bfa81143c3a82/22c7b5d0f85bb978?rnum=11&_done=%2Fgroup%2Fturbogears%2Fbrowse_frm%2Fthread%2Fa81bfa81143c3a82%3Ftvc%3D1%26#doc_8e31e33835c156a5 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

