Ignore:
Timestamp:
11/06/12 13:37:03 (7 years ago)
Author:
mnagni
Message:

the infodb session was not injected in the migration process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/MolesManager/molesSessionMiddleware.py

    r8332 r8334  
    3030    def _doInitialization(self): 
    3131 
    32         infoDB = DbManager(INFO_DB_CONNECTION) 
     32        infoDB = DbManager(INFO_DB_CONNECTION, sql_echo=True) 
    3333        MolesSessionMiddleware._infodbEPBFactory = InfodbEPBFactory(infoDB) 
    3434        #InfodbEPB.overrrideDBManager(infoDB) 
    3535            
    36         migrationDB = DbManager(MIGRATION_DB_CONNECTION, MIGRATION_DB_SCRIPT) 
     36        migrationDB = DbManager(MIGRATION_DB_CONNECTION, MIGRATION_DB_SCRIPT, sql_echo=True) 
    3737        MolesSessionMiddleware._migrationEPBFactory = MigrationEPBFactory(migrationDB)                
    3838 
    39         molesDB = DbManager(MOLES3_DB_CONNECTION, MOLES3_DB_SCRIPT, session_event_manager=EVENTS_DB) 
     39        molesDB = DbManager(MOLES3_DB_CONNECTION, MOLES3_DB_SCRIPT, session_event_manager=EVENTS_DB, sql_echo=True) 
    4040        MolesSessionMiddleware._moles3EPBFactory = Moles3EPBFactory(molesDB) 
    4141         
     
    4343            MolesSessionMiddleware._moles3EPBFactory.createMoles3EPB(), \ 
    4444            MolesSessionMiddleware._migrationEPBFactory.createMigrationEPB(), \ 
     45            MolesSessionMiddleware._infodbEPBFactory.createEPB(), \ 
    4546            interval = MIGRATION_INTERVAL ) 
    4647        MolesSessionMiddleware._epbInitialized = True       
Note: See TracChangeset for help on using the changeset viewer.