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
Priority: Critical
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.