I had a Session.configure() statement which was called for both sessions and this was making setup unusable. Duh.
On Jan 16, 2008 2:12 PM, Max Ischenko <[EMAIL PROTECTED]> wrote: > > > On Jan 15, 2008 6:14 PM, Michael Bayer <[EMAIL PROTECTED]> wrote: > > > if you are using multiple scoped sessions you won't be able to use > > Session.mapper - the idea of Session.mapper is that all instances get > > tied to a single contextual session. > > > > OK, so how do I set it up. I'm reading > http://www.sqlalchemy.org/docs/04/session.html but answer isn't clear. > Should I use set up one scope session and another with create_session? > -- Max http://maxischenko.in.ua // http://www.linkedin.com/in/maksim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---