Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
All
Description
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.