[JIRA] Created: (CAY-816) Improve readNestedProperty() to handle to-many relationships in the path.

From: Michael Gentry (JIRA) ("Michael)
Date: Thu Jun 28 2007 - 12:22:27 EDT

  • Next message: Andrus Adamchik: "Fwd: [JIRA] Commented: (CAY-790) commitChanges() doesn't imply commit in db ?"

    Improve readNestedProperty() to handle to-many relationships in the path.
    -------------------------------------------------------------------------

                     Key: CAY-816
                     URL: https://issues.apache.org/cayenne/browse/CAY-816
                 Project: Cayenne
              Issue Type: Improvement
              Components: Cayenne Core Library
             Environment: All
                Reporter: Michael Gentry
                Assignee: Michael Gentry
                Priority: Minor
                 Fix For: 3.0

    Improve readNestedProperty() to handle to-many relationships in the path. This will resolve this documented limitation:

    Read to-many relationship in the middle of the path (throws exception):
    String name = (String)artist.readNestedProperty("paintingArray.paintingName");

    And allow:

    List names = (List) artist.readNestedProperty("paintingArray.paintingName");

    to succeed. I'm not sure if this feature should be added to writeNestedProperty() [see https://issues.apache.org/cayenne/browse/CAY-815 for improvement feature], though.

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



    This archive was generated by hypermail 2.0.0 : Thu Jun 28 2007 - 12:22:49 EDT