cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Lindesay (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAY-1402) Ability to use Terminating "@size" in Nested Properties Against Collections
Date Sun, 07 Mar 2010 09:18:27 GMT
Ability to use Terminating "@size" in Nested Properties Against Collections
---------------------------------------------------------------------------

                 Key: CAY-1402
                 URL: https://issues.apache.org/jira/browse/CAY-1402
             Project: Cayenne
          Issue Type: Improvement
          Components: Core Library
    Affects Versions: 3.0RC2
            Reporter: Andrew Lindesay
             Fix For: 3.1M1


If approved, could I ask you to apply the attached patch to "Cayenne.java" in 3.1 trunk for
me -- it will allow the use of a "size" property against collections in to-many relationships
which, as you know, is commonly used in WebObjects key-paths...

	author.books.count

With this change a similar thing is possible against Cayenne data objects...

	author.books.size

----

After some discussion, it was decided that the "@size" would be a better approach to take
in order to avoid naming conflicts.

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