drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay (Drill) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-2447) Calling getObject on a closed ResultSet object should throw a SQLException
Date Thu, 18 Jun 2015 17:57:01 GMT

     [ https://issues.apache.org/jira/browse/DRILL-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Barclay (Drill) resolved DRILL-2447.
-------------------------------------------
    Resolution: Fixed

Resolving because superseded by DRILL-2489 and fixed by DRILL-2565.

> 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
>
>
> 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)

Mime
View raw message