This content has been marked as final.
Show 2 replies
-
1. Re: How to sort a table by a column corresponding to a trans
stu2 Mar 26, 2007 10:30 PM (in response to anarinsky)Sure, but you need to do sorting application-side. The DB won't be able to do sorting on transient properties. You could create a comparator that did the sorting you want, and sort the results prior to rendering them.
-
2. Re: How to sort a table by a column corresponding to a trans
anarinsky Mar 26, 2007 11:43 PM (in response to anarinsky)Thank you.
There is no problem in sorting results. The problem is that if I use generating view tables from a database table then sorting is resulted from adding ?order by? to a query specified in "getEjbql". The ?getEjbql? method is specified in ?EntityQuery?. How can I force the table ordering to use another comparator?