While I was in this code, I also added 2 new capabilities:
1) Is the ability to @OrderBy on a basic element collection. JPA actually defines that, but we never had support for it.
2) In element collections of both basic and component (embedded) types, you can now do @OrderBy( "desc" ) to get a descending natural ordering. JPA defines @OrderBy() as being an ascending natural ordering.
While I was in this code, I also added 2 new capabilities:
1) Is the ability to @OrderBy on a basic element collection. JPA actually defines that, but we never had support for it.
2) In element collections of both basic and component (embedded) types, you can now do @OrderBy( "desc" ) to get a descending natural ordering. JPA defines @OrderBy() as being an ascending natural ordering.