|
While both hackish ways would solve the problem I would prefer listing sortable fields from fieldbridges. In my case there are a lot of fields to declare and it's better to iterate through Language enum than to write ~50 annotations. Also every future change in enum will have to be reflected in mapping. Thanks!
|