Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1158

DatabaseMetaData#getFunctions's result not property ordered

    XMLWordPrintable

Details

    Description

      According to the documentation, the getFunctions's result should be ordered by FUNCTION_CAT, FUNCTION_SCHEM, FUNCTION_NAME and SPECIFIC_NAME.

      And here comes what I got.

      group is not sorted according to Comparator$$Lambda/0x0000000800143f50 comparator because element 1:
        Function(super=AbstractMetadataType(super=com.github.jinahya.database.metadata.bind.Function@65233c66, unmappedValues={}),
          functionCat=sys,
          functionSchem=null,
          functionName=ps_is_thread_instrumented,
          remarks=...,
          functionType=1,
          specificName=ps_is_thread_instrumented
        )
      is not less or equal than element 2:
        Function(super=AbstractMetadataType(super=com.github.jinahya.database.metadata.bind.Function@fa40434e, unmappedValues={}),
          functionCat=sys,
          functionSchem=null,
          functionName=extract_table_from_file_name,
          remarks=...,
          functionType=1,
          specificName=extract_table_from_file_name
        )
      

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            onacit Jin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.