hibernate/hibernate-orm — pull request #269 by gastaldi (2012-02-08 20:16:09+00:00)
Title: HHH-7041: Fix DISTINCT clause after FROM clause

Fixes scenario when you have a DISTINCT clause in the WHERE statement