You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2010/11/09 04:12:08 UTC

[jira] Closed: (CAY-1403) Method "readNestedProperty" Should Resolve Through Iterative Invocations onto DataObject and Not Complete Within Cayenne.readNestedProperty

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

Andrus Adamchik closed CAY-1403.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1M1

Applied the patch to 3.0. Needed to do some code juggling to combine static and OO implementations of readNestedProperty in 3.1. Hope I didn't miss anything.

> Method "readNestedProperty" Should Resolve Through Iterative Invocations onto DataObject and Not Complete Within Cayenne.readNestedProperty
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAY-1403
>                 URL: https://issues.apache.org/jira/browse/CAY-1403
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.0RC1, 3.0.1
>            Reporter: Andrew Lindesay
>             Fix For: 3.0.2, 3.1M1
>
>         Attachments: cay-1403-patch.txt
>
>
> (comes from email discussion with Andrus)
> Another thing which may help me implement this for my own use is if the "readNestedProperty(..)" method were to iteratively be applied to DataObjects rather than to eventually hit Cayenne.readNestedProperty(..) and iterate in there.  The entire nested property is currently parsed at the start, but if it iterated through the "readNestedProperty(..)" methods of the data objects then just the first part of the nested property could be 'parsed off'.  The number of strings created from parsing the nested property would only be 2x the number compared to the current implementation.
> ---
> I have taken a quick look at this, but there is not so much impetus to implement this right now.  I will try to come back to it a bit later and submit a patch for it.
> ---

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.