You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Hosur Narahari (JIRA)" <ji...@apache.org> on 2015/03/29 14:26:53 UTC
[jira] [Resolved] (METAMODEL-125) Fetches only data of first column
when multiple columns are given as expresison
[ https://issues.apache.org/jira/browse/METAMODEL-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hosur Narahari resolved METAMODEL-125.
--------------------------------------
Resolution: Fixed
> Fetches only data of first column when multiple columns are given as expresison
> -------------------------------------------------------------------------------
>
> Key: METAMODEL-125
> URL: https://issues.apache.org/jira/browse/METAMODEL-125
> Project: Apache MetaModel
> Issue Type: Bug
> Reporter: Hosur Narahari
>
> I was trying below query to fetch data of two columns.
> Query query = newQuery(). select("u.username,r.roleName"). from("AMASS_USER u INNER JOIN AMASS_USER_ROLE r ON u.username=r.username");
> Instead of fetching data of two columns it is fetching only data of first column.
> Am i using it wrong. when I split the select expression into two select methods it works fine. In fact when I analysed the code, I came to know that select(<expression>) method is written to process for only one column.
> Is this intended or an issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)