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

DataTable has wrong name on empty result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • DataMapper 3.0
    • None
    • DataMapper
    • None

    Description

      When using class='datarow" on a resultMap, the returned DataTable has a wrong name, when the SQL select does not return any result. In that case the TableName is the default name (e.g. 'DataTable1'), instead of the name of the resulMap.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ladermann@hbg.dpa.de Marco Ladermann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: