groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wagenleitner (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-7798) Sql.query methods pass java.sql.ResultSet to the closure, instead of GroovyResultSet
Date Sun, 03 Apr 2016 01:52:25 GMT

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

John Wagenleitner resolved GROOVY-7798.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.7

Thanks for reporting the issue, I've [updated the javadocs|https://github.com/apache/groovy/commit/9dcd0c8997ad143918a3e54a1c4313dcafc6cf1d].

> Sql.query methods pass java.sql.ResultSet to the closure, instead of GroovyResultSet
> ------------------------------------------------------------------------------------
>
>                 Key: GROOVY-7798
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7798
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.6
>            Reporter: Andrey Atapin
>              Labels: easyfix
>             Fix For: 2.4.7
>
>
> The documentation says:
> {code}
> * @param closure called for each row with a GroovyResultSet
> {code}
> Instead, the java ResultSet is passed which prevents from using convenient groovy methods
on the result passed over to the closure



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

Mime
View raw message