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

STRUCT is not supported and callable statements does not support structured sql types as out parameters.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0 Beta 9
    • 3.0 Beta 10
    • Core
    • None
    • General - the core code is missing this functionality.

    Description

      STRUCT is not supported and callable statements does not support structured sql types as out parameters. I attached patch which adds this functionality.

      Patch description:
      -Generally IBatis 3 Beta 9 does not support STRUCT type. So the patch is adding this type.

      • When setting output parameters of callable statement, there is missing functionality which would set sql type name (which is needed in case of custom sql types/objects). The patch adds this functionality.
        -The patch extends ParameterMapping. It adds field sqlTypeName.
        -The patch extends SqlSourceBuilder so its recognized additional attribute "sqlTypeName".

      Attachments

        1. callableStatement.patch
          3 kB
          Jiri Samek

        Activity

          People

            Unassigned Unassigned
            samej Jiri Samek
            Votes:
            5 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: