On Jun 28, 2006, at 10:12 AM, Arnar Birgisson wrote:

> The patch you're using imports the threadlocal mod, so you don't need
> to create/use explicit sessions. For flushing, you use
> sqlalchemy.objectstore.flush() - or just forget about it and let TG
> handle it automatically at the end of the request.

FYI, I'm working on SQLAlchemy support right now. I'm getting rid of  
the threadlocal mod and TG will manage its own SessionContext (which  
is actually what Mike suggested). I'm still working on it, but it  
looks like people using TG will use turbogears.database.metadata when  
creating their classes and turbogears.database.session when accessing  
them.

Kevin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to