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

Document possibility to specify method signature in EXTERNAL NAME when creating a procedure/function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.4.1.3
    • 10.12.1.1
    • Documentation
    • None

    Description

      In some cases it might be necessary to specify the method signature of the external method used as a function or procedure in Derby (using CREATE FUNCTION or CREATE PROCEDURE).
      This possibility is not documented in the manuals, but there is an entry in the FAQ (http://db.apache.org/derby/faq.html#null_args):

      Either declare the function with RETURNS NULL ON NULL INPUT or define the Java method signature in the external name clause. See the "Create function problem" derby-user mail list topic.

      The mail thread: http://mail-archives.apache.org/mod_mbox/db-derby-user/200602.mbox/%3c4404E53D.1050605@apache.org%3e

      The relevant sections in the manuals should be updated to describe the feature.

      Attachments

        1. DERBY-3005.diff
          1 kB
          Myrna van Lunteren
        2. rrefsqljexternalname.html
          5 kB
          Myrna van Lunteren
        3. rrefsqljexternalname.html
          5 kB
          Myrna van Lunteren
        4. DERBY-3005_2.diff
          1 kB
          Myrna van Lunteren

        Issue Links

          Activity

            People

              myrna Myrna van Lunteren
              kristwaa Kristian Waagan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: