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 <wich...@wiggy.net>    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 pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to