[ 
https://issues.apache.org/jira/browse/IGNITE-4643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16132088#comment-16132088
 ] 

ASF GitHub Bot commented on IGNITE-4643:
----------------------------------------

GitHub user alamar opened a pull request:

    https://github.com/apache/ignite/pull/2481

    IGNITE-4643 Fix NPE in getIndexInfo() with test

    Also ported several tests from Thin driver implementation.
    Fixed a problem in Primary Keys metadata.
    Fixed several get*Version() methods to return Ignite version/JDBC 4.1 
instead of dummy values.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/alamar/ignite ignite-4643

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/2481.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2481
    
----
commit f3bf90943ce9a613296929d8050c55aa0cdc88b0
Author: Ilya Kasnacheev <ilya.kasnach...@gmail.com>
Date:   2017-08-18T11:40:42Z

    IGNITE-4643 Fix NPE in getIndexInfo() with test
    
    Also ported several tests from Thin driver implementation.
    Fixed a problem in Primary Keys metadata.
    Fixed several get*Version() methods to return Ignite version/JDBC 4.1 
instead of dummy values.

----


> JdbcDatabaseMetadata.getIndexInfo() method not working
> ------------------------------------------------------
>
>                 Key: IGNITE-4643
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4643
>             Project: Ignite
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 1.8
>            Reporter: Valentin Kulichenko
>            Assignee: Ilya Kasnacheev
>             Fix For: 2.2
>
>
> {{JdbcDatabaseMetadata.getIndexInfo()}} method does not update metadata 
> before creating result set. So if it's a first method invocation on this 
> instance of {{JdbcDatabaseMetadata}}, it fails with NPE. Need to create tests 
> and add {{updateMetaData()}} call in the beginning of the method.



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

Reply via email to