You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ilya Kasnacheev (JIRA)" <ji...@apache.org> on 2017/08/21 10:28:00 UTC

[jira] [Created] (IGNITE-6125) A range of improvements for JDBC driver metadata queries

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)