cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgeny Ryabitskiy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAY-1282) Use #result as optional directive for only few columns (not all)
Date Tue, 06 Oct 2009 12:09:31 GMT

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

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

    Attachment:     (was: CAY-1282-3.patch)

> 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-3.patch, CAY-1282-3.patch, 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.


Mime
View raw message