You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2009/10/03 10:34:23 UTC

[jira] Assigned: (CAY-1282) Use #result as optional directive for only few columns (not all)

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

Andrus Adamchik reassigned CAY-1282:
------------------------------------

    Assignee: Andrus Adamchik

> Use #result as optional directive for only few columns (not all)
> ----------------------------------------------------------------
>
>                 Key: CAY-1282
>                 URL: https://issues.apache.org/jira/browse/CAY-1282
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Cayenne Core Library
>    Affects Versions: 1.2.5, 2.0.5, 3.0
>            Reporter: Evgeny Ryabitskiy
>            Assignee: Andrus Adamchik
>             Fix For: 3.0 beta 1
>
>         Attachments: CAY-1282.patch
>
>
> Here is few queries to show the problem:
> SELECT ARTIST_ID, ARTIST_NAME FROM ARTIST  
> - working properly
> SELECT #result('ARTIST_ID' 'java.lang.Integer'), #result('ARTIST_NAME' 'java.lang.String') FROM ARTIST 
> - also working properly
> SELECT ARTIST_ID,  #result('ARTIST_NAME' 'java.lang.String') FROM ARTIST
> - first column is returned as null!!! Not nice...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.