openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fay Wang (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (OPENJPA-1069) OrderBy annotation applied to an element collection of basic type doesn't require property or field name
Date Wed, 20 May 2009 17:37:45 GMT

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


Mime
View raw message