Hi!

Is it a bug or a feature that deltaspike-data does not perform ordering by 
multiple columns?
I am using API

Criteria<E,E> orderAsc(SingularAttribute attr)
Criteria<E,E> orderDesc(SingularAttribute attr)

Something like this

return criteria().eq(MessageEntity_.receiver, 
example.getReceiver()).orderAsc(MessageEntity_.receiver).orderDesc(MessageEntity_.title).getResultList();

Final sql shows that order is performed only by the latest attribute, all 
earlier attributes are ignored.

Reply via email to