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

Reply via email to