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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira