kochcp wrote:
not entirely sure what you're asking..
are you asking what if the underlying DB doesn't support having the 'lower' command after the words 'order by'?
Thank you.
I will try to explain more clearly.
Really I find this example in test directory of hibernate (downloaded from CVS), so it's strange for me tests doesnt satisfy to reference.
I test my dialect for Hibernate.
Most of tests passed. But some not. I start to research what was wrong, and in org.hibernate.test.collection.CollectionTest find mapping file that doesnt correct (order-by allowed only by column(s), not by expression as in hibernate_reference.pdf).
Code:
order-by="lower(`attributeName`) asc"
in reference of Hibernate we have possibility to order by column(s) only, not by expression. (May be I have missed something in hibernate_reference.pdf?)