Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6125

Improve robustness for JDBC driver metadata queries

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.3
    • jdbc
    • None

    Description

      org.apache.ignite.internal.jdbc2.JdbcDatabaseMetadata is in worrysome state:

      • Makes frivolous use of toUpperCase() to address former.
      • getPrimaryKeys() never returns anything because of defective use of toUpperCase().
      • No tests on indexes, primary keys, schemas or parameters metadata retrieval.
      • Ignores "catalog" parameter instead of checking if it matches empty catalog.
      • See also IGNITE-6138, IGNITE-6139

      That should be fixes without compromising backwards compatibility too much. Tests may be borrowed from thin client implementation.

      Attachments

        Issue Links

          Activity

            People

              ilyak Ilya Kasnacheev
              ilyak Ilya Kasnacheev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: