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 optinal directive for only few columns (not all)
Date Wed, 30 Sep 2009 14:51:23 GMT

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

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

    Attachment: CAY-1282.patch

Here is fix and JUnit test :) First version.
If you don't mid I will delete some depricated constructors ...
Looks like it's not braking anything.

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