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

getTables should be ordered as expected

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.3.2
    • 3.4.0
    • JDBC compatibility
    • None
    • mysql-connector-j:8.3.0

    Description

      According the documentation, result should be ordered by TABLE_TYPE, TABLE_CAT, TABLE_SCHEM and TABLE_NAME.

      And here comes what I got.

      group is not sorted according to Comparator$$Lambda/0x00000008000fc680 comparator because element 5:
        Table(super=AbstractMetadataType(super=com.github.jinahya.database.metadata.bind.Table@6e3762ff, unmappedValues={}),
          tableCat=information_schema,
          tableSchem=null,
          tableName=COLLATIONS,
          tableType=SYSTEM VIEW,
          remarks=, typeCat=null, typeSchem=null, typeName=null, selfReferencingColName=null, refGeneration=null)
      is not less or equal than element 6:
        Table(super=AbstractMetadataType(super=com.github.jinahya.database.metadata.bind.Table@110ad0d1, unmappedValues={}),
          tableCat=information_schema,
          tableSchem=null,
          tableName=COLLATION_CHARACTER_SET_APPLICABILITY,
          tableType=SYSTEM VIEW,
          remarks=, typeCat=null, typeSchem=null, typeName=null, selfReferencingColName=null, refGeneration=null)
      

      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.