Uploaded image for project: 'iBatis for Java [READ ONLY]'
  1. iBatis for Java [READ ONLY]
  2. IBATIS-493

Add Abator config to utilize resultMap "select" attribute

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Ibator
    • None

    Description

      The iBATIS SQLMaps resultMap element supports a "select" attribute that maps to another "select" statement to nest complex resultMaps. It would be helpful to allow Abator to provide a configuration option to the "table" element that would map two tables together by Primary Key, ultimately, generating a resultMap implementing the "select" attribute. This would be helpful for tables where two tables are intrinsically linked. The only way around this currently is to create a custom SQLMap, ResultMap, Model, and DAO method outside the scope of Abator, which could become out of sync as Abator is used to rebuild Models, Maps, and Statements.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rshelley Ryan Shelley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: