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

Check selectKey's property attribute for writeability during mapper initialization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • DataMapper 1.3
    • DataMapper
    • None

    Description

      When the mapper is being initialized, values such as a resultMaps' property attribute are checked for being writeable. A selecKey's property is not checked and a ProbeException is thrown at runtime after the insert statement has been executed if the property is incorrect.

      The property should only be checked if the parent insert statement has a paramerClass specified that is not a primitive type.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ron liu ron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: