spring-projects/spring-data-jpa — pull request #53 by thomasdarimont (2013-11-25 09:42:26+00:00)
Title: DATAJPA-427 - Generate left joins for referenced associations in sort expressions.

Previously sorting by property of an associated object generated an inner join instead of a left join with QueryDsl and Hibernate. That excluded records that had null values on their join columns. We now generate appropriate left joins if we detect associations in the sort property expression.

Ignored test cases for eclipselink in EclipseLinkNamespaceUserRepositoryTests since eclipse link generates an inner-join instead of an outer-join to fetch associations in order by. Filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=422450