Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4958

Wrapper types not recognized when resolving procedures with OUT arguments.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.8.1.2
    • 10.8.1.2
    • SQL
    • None
    • Repro attached
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              rhillegas Richard N. Hillegas
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: