-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: GROUP BY with the object instance
PostPosted: Sun Mar 11, 2007 5:28 am 
Newbie

Joined: Thu Aug 10, 2006 12:27 pm
Posts: 8
Does anybody know if the issue mentioned in the NH-528 (http://jira.nhibernate.org/browse/NH-528) will be actually implemented/fixed in NHibernate, and if yes, which possible version? I tried with 1.2 RC and you still cannot use object instances with the GROUP BY clause (as stated in the 1.2 RC documentation as well).

It would be really a nice thing to have. Right now I have to explicitly declare a GROUP BY part of the query which includes all the properties I need to group by on.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 12, 2007 8:56 am 
Regular
Regular

Joined: Tue Dec 02, 2003 6:25 pm
Posts: 61
Location: Dallas, TX
I just bumped into the same problem using NH 1.2b3. I would really love to see this fixed as well.

Perhaps it was forgotten about because it was marked as fixed in 1.2b2. I do hope that it was not decided to leave the feature out forever.

Seems like a good, standard feature to include in the 1.2 release.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 12, 2007 10:23 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
The issue you are referring to describes a documentation change, this was done already.

As for the GROUP BY functionality, no, it won't be implemented.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 28, 2007 8:01 pm 
Newbie

Joined: Mon Mar 27, 2006 7:46 pm
Posts: 17
sergey wrote:
The issue you are referring to describes a documentation change, this was done already.

As for the GROUP BY functionality, no, it won't be implemented.


Why not?


This is a really useful feature and it should be relatively easy to implement. At least it seems so, i figure if you can expand the object names to their full column names in the select, couldn't you just use the same code in the group by to expand the object?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.