[hibernate-dev] [#HHH-4688] Make sure @OrderBy works for @ElementCollection - Hibernate JIRA

Strong Liu stliu at hibernate.org
Thu Dec 27 10:11:27 EST 2012


org.hibernate.test.annotations.collectionelement.OrderByTest was introduced by this JIRA, and it passes on master.

The question is, org.hibernate.test.annotations.collectionelement.Products#widgets, used in this test, which  has @ElementCollection on it and its element type is an @Entity

but according to the JPA SPEC

{quote}
@ElementCollection

Defines a collection of instances of a basic type or embeddable class.
 {quote}

so, is this a hibernate specific feature or we should "correct" this test?
-------------------------
Best Regards,

Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio



More information about the hibernate-dev mailing list