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/20 19:37:45 UTC

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

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