-->
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: Criteria with aggregation fucntions(as count(*)) or HQL QBE
PostPosted: Thu Oct 26, 2006 7:45 am 
Newbie

Joined: Tue Oct 24, 2006 9:10 am
Posts: 17
When will the IQuery have support to Query By Example?

Or when will the ICriteria have support to aggregation functions ( as Count, SUM, AVg, etc. )?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 26, 2006 8:33 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
Both are already supported, why do you think they are not?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 26, 2006 8:40 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
Ahh, HQL doesn't support query by example - not sure what it would look like and why it would be useful.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 27, 2006 8:05 am 
Newbie

Joined: Tue Oct 24, 2006 9:10 am
Posts: 17
Ooops. I thought I had put this frase on my question:

"Or is there this function and I didnĀ“t know?"

Hehehe.

Very nice. If the ICriteria of the NHibernate 1.0.2 has just support to aggregation functions, could you give me an example of it's use?

Thanks a lot.


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.