Ilya Kasnacheev created IGNITE-6125:
---------------------------------------

             Summary: A range of improvements for JDBC driver metadata queries
                 Key: IGNITE-6125
                 URL: https://issues.apache.org/jira/browse/IGNITE-6125
             Project: Ignite
          Issue Type: Improvement
          Components: clients, jdbc
    Affects Versions: 2.1
            Reporter: Ilya Kasnacheev
            Assignee: Ilya Kasnacheev


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

- Uses cache name instead of schema and type name instead of table.
- 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.
- get*Version returns hardcoded obsolete values.
- Ignores "catalog" parameter instead of checking if it matches empty catalog.

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to