You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/06/19 08:06:02 UTC

[jira] [Commented] (DRILL-2447) Calling getObject on a closed ResultSet object should throw a SQLException

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

Daniel Barclay (Drill) commented on DRILL-2447:
-----------------------------------------------

Patch addresses all {{ResultSet}} and {{DrillResultSet}} methods.

> Calling getObject on a closed ResultSet object should throw a SQLException
> --------------------------------------------------------------------------
>
>                 Key: DRILL-2447
>                 URL: https://issues.apache.org/jira/browse/DRILL-2447
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>            Reporter: Rahul Challapalli
>            Assignee: Daniel Barclay (Drill)
>             Fix For: 1.1.0
>
>         Attachments: DRILL-2447.1.patch.txt, DRILL-2447.BASE.1.patch.txt
>
>
> git.commit.id.abbrev=e92db23
> The following sequence should throw a SQLException according to the JDBC specification. However drill's jdbc code does not throw an error
> {code}
> ResultSet rs = stmt.executeQuery("SELECT 1 FROM sys.version");
> rs.close();
> rs.getObject(1);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)