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

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

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

Evgeny Ryabitskiy updated CAY-1282:
-----------------------------------

    Fix Version/s: 3.0 beta 1

> Use #result as optinal directive for only few columns (not all)
> ---------------------------------------------------------------
>
>                 Key: CAY-1282
>                 URL: https://issues.apache.org/jira/browse/CAY-1282
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 1.2.5, 2.0.5, 3.0
>            Reporter: Evgeny Ryabitskiy
>             Fix For: 1.2.5, 2.0.5, 3.0 beta 1, 3.0
>
>         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.