You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrew Lindesay (JIRA)" <ji...@apache.org> on 2010/03/07 10:18:27 UTC

[jira] Created: (CAY-1402) Ability to use Terminating "@size" in Nested Properties Against Collections

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.


[jira] Updated: (CAY-1402) Ability to use Terminating "@size" in Nested Properties Against Collections

Posted by "Andrew Lindesay (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lindesay updated CAY-1402:
---------------------------------

    Attachment: cay1402-sizeoncollections-for3-0trunk.diff

The file "cay1402-sizeoncollections-for3-0trunk.diff" is a backport to 3.0-TRUNK of this change.  Can you please check this and apply for the 3.0.1 release.

> 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
>
>         Attachments: cay1402-sizeoncollections-for3-0trunk.diff, patch.txt
>
>
> 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.


[jira] Reopened: (CAY-1402) Ability to use Terminating "@size" in Nested Properties Against Collections

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik reopened CAY-1402:
----------------------------------

      Assignee: Andrus Adamchik

reopening to change fix version, as we now got 3.0.1 patch

> 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
>            Assignee: Andrus Adamchik
>             Fix For: 3.1M1
>
>         Attachments: cay1402-sizeoncollections-for3-0trunk.diff, patch.txt
>
>
> 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.


[jira] Closed: (CAY-1402) Ability to use Terminating "@size" in Nested Properties Against Collections

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1402.
--------------------------------

    Resolution: Fixed

> 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
>
>         Attachments: patch.txt
>
>
> 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.


[jira] Updated: (CAY-1402) Ability to use Terminating "@size" in Nested Properties Against Collections

Posted by "Andrew Lindesay (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lindesay updated CAY-1402:
---------------------------------

    Attachment: patch.txt

This patch should implement the "@size".

> 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
>
>         Attachments: patch.txt
>
>
> 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.


[jira] Closed: (CAY-1402) Ability to use Terminating "@size" in Nested Properties Against Collections

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1402.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.1

> 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
>            Assignee: Andrus Adamchik
>             Fix For: 3.0.1, 3.1M1
>
>         Attachments: cay1402-sizeoncollections-for3-0trunk.diff, patch.txt
>
>
> 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.