[
https://issues.apache.org/jira/browse/IBATISNET-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles Bayon closed IBATISNET-275.
----------------------------------
Resolution: Duplicate
Fix Version/s: DataMapper 1.6.2
Assignee: Gilles Bayon
> SessionStore gets instantiated with wrong daoManagerId during configuration.
> ----------------------------------------------------------------------------
>
> Key: IBATISNET-275
> URL: https://issues.apache.org/jira/browse/IBATISNET-275
> Project: iBatis for .NET
> Issue Type: Bug
> Components: DataAccess
> Affects Versions: DataAccess 1.9 .1
> Environment: Windows Vista, .NET framework 3.5
> Reporter: Simone Busoli
> Assignee: Gilles Bayon
> Priority: Critical
> Fix For: DataMapper 1.6.2
>
>
> The issue popped up when trying to get a DaoManager instance inside of a Dao
> associated with a different DaoManager. The result is that the second Dao
> obtains a LocalSession which is the same as the one associated with the first
> one.
> Fiddling into the code we noticed that the session store gets instantiated
> before the DaoManager Id is set, and therefore different dao managers obtain
> the same session store and share the LocalSession, and therefore the same
> connection string, which is of course wrong.
> We would appreciate your help on this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.