You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Fay Wang (JIRA)" <ji...@apache.org> on 2009/05/07 08:26:31 UTC

[jira] Created: (OPENJPA-1069) OrderBy annotation applied to an element collection of basic type doesn't require property or field name

OrderBy annotation applied to an element collection of basic type doesn't require property or field name 
---------------------------------------------------------------------------------------------------------

                 Key: OPENJPA-1069
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1069
             Project: OpenJPA
          Issue Type: Sub-task
            Reporter: Fay Wang
            Assignee: Fay Wang




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


[jira] Reopened: (OPENJPA-1069) OrderBy annotation applied to an element collection of basic type doesn't require property or field name

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

Fay Wang reopened OPENJPA-1069:
-------------------------------


(1) Add support for
    @ElementCollection
    @OrderBy("DESC")
    private Collection<String> nickNames = new ArrayList<String>();

(2) throw exception for
    @ElementCollection
    @OrderBy
    Collection<Address> addrs = new ArrayList<Address>(); 

When the element of the collection is an embeddable, the property or field name must be specified in the orderBy item.

> OrderBy annotation applied to an element collection of basic type doesn't require property or field name 
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1069
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1069
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>             Fix For: 2.0.0
>
>


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


[jira] Resolved: (OPENJPA-1069) OrderBy annotation applied to an element collection of basic type doesn't require property or field name

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

Fay Wang resolved OPENJPA-1069.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

> OrderBy annotation applied to an element collection of basic type doesn't require property or field name 
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1069
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1069
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>             Fix For: 2.0.0
>
>


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


[jira] Commented: (OPENJPA-1069) OrderBy annotation applied to an element collection of basic type doesn't require property or field name

Posted by "Thomas O Rowe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719637#action_12719637 ] 

Thomas O Rowe commented on OPENJPA-1069:
----------------------------------------

Re-verified on Linux AMD64 w/ IBM SE6.

> OrderBy annotation applied to an element collection of basic type doesn't require property or field name 
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1069
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1069
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>             Fix For: 2.0.0-M2
>
>


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


[jira] Resolved: (OPENJPA-1069) OrderBy annotation applied to an element collection of basic type doesn't require property or field name

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

Fay Wang resolved OPENJPA-1069.
-------------------------------

    Resolution: Fixed

> OrderBy annotation applied to an element collection of basic type doesn't require property or field name 
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1069
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1069
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>             Fix For: 2.0.0
>
>


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