metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Du Krøger (JIRA) <j...@apache.org>
Subject [jira] [Commented] (METAMODEL-112) query.getSelectClause.getItems returns null list
Date Mon, 02 Mar 2015 11:51:04 GMT

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

Dennis Du Krøger commented on METAMODEL-112:
--------------------------------------------

Hi Francisco, Kasper is unavailable for the next week so don't be worried if he doesn't reply
:)

(For what it's worth, your plan seems like the right one to me)

> query.getSelectClause.getItems returns null list
> ------------------------------------------------
>
>                 Key: METAMODEL-112
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-112
>             Project: Apache MetaModel
>          Issue Type: Bug
>    Affects Versions: 4.3.2
>            Reporter: Francisco Javier Cano
>            Priority: Minor
>
> Query:
> {code:sql}
> SELECT COUNT(*) FROM film_text;*
> {code}
> Debug:
> {code}
> query.getSelectClause.getItemCount
> -
> 1
> {code}
> {code}
> query.getSelectClause.getItem(0)
> -
> COUNT(*)
> {code}
> {code}
> query.getSelectClause.getItems
> -
> java.lang.NullPointerException
> {code}
> Is this the right behaviour?
> Thanks,



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

Mime
View raw message