cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: [jira] [Updated] (CAY-2013) In-memory evaluation of DB expressions - non-id attributes
Date Sat, 23 May 2015 12:47:32 GMT
done.


> On May 22, 2015, at 5:07 PM, John Huss <johnthuss@gmail.com> wrote:
> 
> Ok, thanks!
> 
> On Fri, May 22, 2015 at 7:49 AM Andrus Adamchik <andrus@objectstyle.org>
> wrote:
> 
>> Sorry, I forgot about CAY-1902 completely. I don't remember anything these
>> days :-/
>> 
>> My implementation only handles attributes and doesn't handle
>> relationships. Yours does. Since I messed it up, let me work on porting
>> your patch to the current master HEAD. I'll try to find time this weekend
>> to do that.
>> 
>> Andrus
>> 
>> 
>>> On May 22, 2015, at 3:32 PM, John Huss <johnthuss@gmail.com> wrote:
>>> 
>>> https://issues.apache.org/jira/browse/CAY-1902
>>> On Fri, May 22, 2015 at 7:25 AM John Huss <johnthuss@gmail.com> wrote:
>>> 
>>>> Could you look at my patch that already does this?
>>>> On Fri, May 22, 2015 at 7:23 AM Andrus Adamchik (JIRA) <jira@apache.org
>>> 
>>>> wrote:
>>>> 
>>>>> 
>>>>>    [
>>>>> 
>> https://issues.apache.org/jira/browse/CAY-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>>>>> ]
>>>>> 
>>>>> Andrus Adamchik updated CAY-2013:
>>>>> ---------------------------------
>>>>>   Description: This is a minor improvement to Cayenne DB expressions
>>>>> evaluation capabilities. When evaluating a "db:" expression against a
>>>>> Persistent object, something like "db:id" currently returns a value of
>> a PK
>>>>> column, but if a DB column name is not a part of the ID (e.g.
>> "db:name"),
>>>>> it evaluates to NULL. There is a TODO in ASTDbPath to that extent. So
>> let's
>>>>> support evaluation of path's corresponding to DbAttributes.   (was:
>> This is
>>>>> a minor improvement to Cayenne DB expressions evaluation capabilities.
>>>>> Something like "db:id" currently already evaluates to a value of a PK
>>>>> column, but if a DB column name is not a part of the ID (e.g.
>> "db:name"),
>>>>> it evaluates to NULL. There is a TODO in ASTDbPath to that extent. So
>> let's
>>>>> support evaluation of path's corresponding to DbAttributes. )
>>>>> 
>>>>>> In-memory evaluation of DB expressions - non-id attributes
>>>>>> ----------------------------------------------------------
>>>>>> 
>>>>>>               Key: CAY-2013
>>>>>>               URL: https://issues.apache.org/jira/browse/CAY-2013
>>>>>>           Project: Cayenne
>>>>>>        Issue Type: Improvement
>>>>>>          Reporter: Andrus Adamchik
>>>>>>          Assignee: Andrus Adamchik
>>>>>>          Priority: Minor
>>>>>>           Fix For: 4.0.M3
>>>>>> 
>>>>>> 
>>>>>> This is a minor improvement to Cayenne DB expressions evaluation
>>>>> capabilities. When evaluating a "db:" expression against a Persistent
>>>>> object, something like "db:id" currently returns a value of a PK
>> column,
>>>>> but if a DB column name is not a part of the ID (e.g. "db:name"), it
>>>>> evaluates to NULL. There is a TODO in ASTDbPath to that extent. So
>> let's
>>>>> support evaluation of path's corresponding to DbAttributes.
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> This message was sent by Atlassian JIRA
>>>>> (v6.3.4#6332)
>>>>> 
>>>> 
>> 
>> 


Mime
View raw message