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

Allow mapping of multiple result sets

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • DataMapper 1.6
    • DataMapper
    • None

    Description

      Allow a single stored procedure / statement to return multiple results sets and map them to specific object lists. Similar to the new feature in the Java version.

      "Here's the changelog:

      http://fisheye3.cenqua.com/changelog/ibatis/?cs=431155

      Here's an example of how it's used:

      <procedure id="getEmployeesAndDepartmentsForOrg"
      parameterClass="int"
      resultMap="EmployeeResult, DepartmentResult">

      {call GET_EMP_DEPT (#1#)}

      </procedure>
      The above example will produce a list of two lists, one with employees, and the other with departments."

      Attachments

        Activity

          People

            Unassigned Unassigned
            schallm Michael T. Schall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: