[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2440) Allow the exclude of DISTINCT from SQL Queries

Michael Barker (JIRA) noreply at atlassian.com
Thu Feb 22 17:27:31 EST 2007


Allow the exclude of DISTINCT from SQL Queries
----------------------------------------------

         Key: HHH-2440
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2440
     Project: Hibernate3
        Type: Patch

  Components: query-hql  
    Versions: 3.2.2    
 Environment: N/A
    Reporter: Michael Barker
    Priority: Minor
 Attachments: exclude-distinct.patch

This patch allows the caller to exclude the DISTINCT keyword from SQL queries.

Session session;
Set s = new HashSet();
s.add("org.hibernate.excludeSqlDistinct");
Query q = session.createQuery("SELECT DISTINCT f FROM Foo f left join f.bars", s);
q.list();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list