Hello, Sorry for reply to myself; just want to tell that the problem is solved.
Here is how my setup looks like: Session = scoped_session(sessionmaker(autoflush=True, transactional=False)) SessionCDB = scoped_session(sessionmaker(autoflush=True, transactional=False)) ... # application startup sqlalchemy_configure("blog", Session, init_blog_meta) sqlalchemy_configure("cdb", SessionCDB, init_companydb_meta) ... def sqlalchemy_configure(dbname, session, callback): global metadata_cache from sqlalchemy import engine_from_config from pylons import config engine = engine_from_config(config, 'sqlalchemy.%s.' % dbname) session.configure(bind=engine) meta = sqlalchemy.MetaData(engine) metadata_cache[dbname] = meta callback(session.mapper, meta) Max. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---