Re: sqlalchemy objects in beaker cache

2008-12-17 Thread Wichert Akkerman
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.

sqlalchemy objects in beaker cache

2008-12-16 Thread Andrey Plotnikov
Hi, Is it safe to cache objects getting from sqlalchemy session query in beaker cache? -- Andrey Plotnikov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email

Re: sqlalchemy objects in beaker cache

2008-12-16 Thread Tomasz Narloch
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 from ... import User from ... import t_user mapper(User, t_user, properties={