[hibernate-dev] Question regarding DISTINCT

Christian Bauer christian at hibernate.org
Mon Feb 19 09:37:38 EST 2007


On Feb 19, 2007, at 3:32 PM, Michael Barker wrote:

>>> However I have noticed that everytime distinct is specifed in the  
>>> ejb-ql query it also gets specified in the sql query.  I am  
>>> curious as the reasoning behind this.

You are wondering why a DISTINCT you put into your query is actually  
send to the database in the generated SQL?




More information about the hibernate-dev mailing list