Hello!
I want to use UserType for localized strings and I can't find any information on how objects with user type properties are ordered.
My usertype property, say "name", will consist of a few columns: e.g. "name_en" and "name_de". When I execute a query like "from Company order by name" I need to sort only by one of the columns - for german users "name_de", for english "name_en". Where do I specify which column is used for sorting? There is nothing similar in UserType interface.
Thanks in advance!
|