Uploaded image for project: 'iBatis for .NET'
  1. iBatis for .NET
  2. IBATISNET-275

SessionStore gets instantiated with wrong daoManagerId during configuration.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • DataAccess 1.9 .1
    • DataMapper 1.6.2
    • DataAccess
    • None
    • Windows Vista, .NET framework 3.5

    Description

      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.

      Attachments

        Activity

          People

            gilles Gilles Bayon
            simone_b Simone Busoli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: