I am trying to do a sort on a Hibernate dataset, ordering by a attribute of an (optionally) associated object. I followed the example from hibernate order by association - and that works to an extent. The problem comes when there is not an associated object, the whole record is ignored.
If I change the association type of the object to be an outer join, will it help matters? And if so, can someone please point me towards the correct directive?
Many thanks.