cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1282) Use #result as optional directive for only few columns (not all)
Date Sat, 03 Oct 2009 09:10:23 GMT

    [ https://issues.apache.org/jira/browse/CAY-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761831#action_12761831
] 

Andrus Adamchik commented on CAY-1282:
--------------------------------------

Evgeny, I like the idea of the patch, but in 3.0 a few things have changed in RowDescriptor
compared to 2.0 (namely most constructors are deprecated and replaced with RowDescriptorBuilder
class). Would it be possible for you to recreate this patch against 3.0? If not I will take
a shot at that myself, but this will take some time.

> 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.


Mime
View raw message