[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2440?page=c...
]
Michael Barker commented on HHH-2440:
-------------------------------------
Sorry, this patch is pointless. I though it may be faster than new
LinkedHashSet(query.getResultList()), but it is not.
Allow the exclude of DISTINCT from SQL Queries
----------------------------------------------
Key: HHH-2440
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2440
Project: Hibernate3
Issue Type: Patch
Components: query-hql
Affects 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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira