From: Xavier B. (JIRA) <no...@at...> - 2006-03-28 13:07:16
|
GROUP BY entity does not work ----------------------------- Key: HHH-1615 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1615 Project: Hibernate3 Type: Bug Components: query-hql Versions: 3.1.3 Environment: PostgreSQL 8.1.3, Hibernate 3.1.3 Reporter: Xavier Bugaud The query : "select cat, count(*) from Cat cat group by cat" does not work. ERROR: column "xxxx" must appear in the GROUP BY clause or be used in an aggregate function See : - http://forum.hibernate.org/viewtopic.php?t=953716 - http://jira.nhibernate.org/browse/NH-528 -- 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 |
From: Giampaolo T. (JIRA) <no...@at...> - 2006-05-22 09:48:19
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1615?page=comments#action_23141 ] Giampaolo Tomassoni commented on HHH-1615: ------------------------------------------ For another example of the very same problem, see: http://forum.hibernate.org/viewtopic.php?t=959692 > GROUP BY entity does not work > ----------------------------- > > Key: HHH-1615 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1615 > Project: Hibernate3 > Type: Bug > Components: query-hql > Versions: 3.1.3 > Environment: PostgreSQL 8.1.3, Hibernate 3.1.3 > Reporter: Xavier Bugaud > > > The query : "select cat, count(*) from Cat cat group by cat" does not work. > ERROR: column "xxxx" must appear in the GROUP BY clause or be used in an aggregate function > See : > - http://forum.hibernate.org/viewtopic.php?t=953716 > - http://jira.nhibernate.org/browse/NH-528 -- 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 |
From: Patrick B. (JIRA) <no...@at...> - 2006-06-10 21:30:39
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1615?page=comments#action_23310 ] Patrick Burleson commented on HHH-1615: --------------------------------------- Just ran into this this other day. Seems odd since this is in the examples in Chapter 11 of the reference guide. Does it only affect PosgreSQL? > GROUP BY entity does not work > ----------------------------- > > Key: HHH-1615 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1615 > Project: Hibernate3 > Type: Bug > Components: query-hql > Versions: 3.1.3 > Environment: PostgreSQL 8.1.3, Hibernate 3.1.3 > Reporter: Xavier Bugaud > > > The query : "select cat, count(*) from Cat cat group by cat" does not work. > ERROR: column "xxxx" must appear in the GROUP BY clause or be used in an aggregate function > See : > - http://forum.hibernate.org/viewtopic.php?t=953716 > - http://jira.nhibernate.org/browse/NH-528 -- 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 |
From: Nick P. (JIRA) <no...@at...> - 2006-07-26 20:35:25
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1615?page=comments#action_23785 ] Nick Palombo commented on HHH-1615: ----------------------------------- Ran into this today with Microsoft SQL Server. > GROUP BY entity does not work > ----------------------------- > > Key: HHH-1615 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1615 > Project: Hibernate3 > Type: Bug > Components: query-hql > Versions: 3.1.3 > Environment: PostgreSQL 8.1.3, Hibernate 3.1.3 > Reporter: Xavier Bugaud > > > The query : "select cat, count(*) from Cat cat group by cat" does not work. > ERROR: column "xxxx" must appear in the GROUP BY clause or be used in an aggregate function > See : > - http://forum.hibernate.org/viewtopic.php?t=953716 > - http://jira.nhibernate.org/browse/NH-528 -- 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 |