Hi,

Thanks a lot for your reply.

We have tried this approach but the problem is when we ask for the LocalDaoSession of a daomanager by using the following statement

SqlMapDaoSession sqlMapDaoSession = (SqlMapDaoSession)daoManager.LocalDaoSession;

We are getting sqlMap settings of the second context define in the dao.config file.

It seems that there is in the DaoSessionHandlerFactory only one instance of sessionHandler.

I don’t now where the problem is coming from ?!?

 

Have you already tested multiple databases dao configuration with contexts ?

 

Thanks again for your help.

 

Regards

 

Jean-Guillaume LALANNE

Attachment: dao.config
Description: Binary data

Attachment: SqlMap.config
Description: Binary data

Attachment: SqlMapProduct.config
Description: Binary data

Reply via email to