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

Namespace problems on resultMapping when used with discriminator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • DataMapper 1.6.1
    • DataMapper 1.6.2
    • DataMapper
    • None

    Description

      1. Define a resultMap in a map file (Test1.xml) with a namespace Test1
      2. In Test1.xml define a resultMap rmap1
      2. Define another map file (Test2.xml) with a namespace Test2
      3. In Test2.xml define a result map rmap2
      4. In rmap2 define a discriminator with the submap's resultMapping attribute as Test1.rmap1

      Expecting this to work with the fully qualified result map name, but gives an error looking for Test2.Test1.rmap1. This works fine if the rmap1 is defined in Test2.xml

      Attachments

        Activity

          People

            gilles Gilles Bayon
            aashishgandhi Aashish Gandhi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: