Derby
  1. Derby
  2. DERBY-4958

Wrapper types not recognized when resolving procedures with OUT arguments.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: 10.8.1.2
    • Component/s: SQL
    • Labels:
      None
    • Issue & fix info:
      Repro attached
    • Bug behavior facts:
      Deviation from standard

      Description

      Derby does not recognize the wrapper objects when trying to match Java methods to the signatures of procedures with OUT arguments. For instance, the following procedure declaration

      create procedure proc
      (
      out intCol int
      )
      language java
      parameter style java
      no sql
      external name 'zz.proc'

      is supposed to match both of the following Java signatures:

      public static void proc( int[] arg )

      {...}
      public static void proc( Integer[] arg ) {...}

      However, only the first signature is matched. I will attach a test case which shows this.

      1. zz.java
        2 kB
        Rick Hillegas
      2. derby-4952-01-aa-convertArrayTypesToCellTypes.diff
        0.9 kB
        Rick Hillegas
      3. derby-4958-01-ab-convertArrayTypesToCellTypes.diff
        5 kB
        Rick Hillegas

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Rick Hillegas
              Reporter:
              Rick Hillegas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development