Previously Tomasz Narloch wrote:
> 
> Andrey Plotnikov pisze:
> > Hi,
> >
> > Is it safe to cache objects getting from sqlalchemy session query in
> > beaker cache?
> >
> >   
> I was done that but in that way I loose  connection with sqlalchemy 
> (Session) so

You can re-associate an object with a new session. See
http://www.sqlalchemy.org/docs/05/session.html#merging

Wichert.

-- 
Wichert Akkerman <[email protected]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

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

Reply via email to