I am going to sort a table data by a column using database collation.
SELECT *
FROM country
ORDER BY code COLLATE utf8_swedish_ci DESC;
But when I am trying to get table data with HQL Its getting exception because HQL does not support this feature. So is there any way to do it same as sql? And although hibernate does not support all sql features but may be there is a logical reason for not supporting collate feature. Why hibernate HQL does not support collate feature in query level?