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

Wrapper types not recognized when resolving procedures with OUT arguments.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment