-->
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.  [ 8 posts ] 
Author Message
 Post subject: Query and count in one?!?!
PostPosted: Fri Mar 30, 2007 11:35 am 
Newbie

Joined: Thu Oct 26, 2006 4:02 pm
Posts: 12
Hi all,

I just finished listening to Ayende on Dot Net Rocks talking about NHibernate and Rhino Mocks. He mentioned that he had recently implemented the ability to query a given number of records that will also return to total number of matching records all in one call. I've been looking for this! Anyone know where this feature was implemented?

Thanks,
Matt


Top
 Profile  
 
 Post subject: Nhibernate Query Generator and Rhino
PostPosted: Fri Mar 30, 2007 12:38 pm 
Regular
Regular

Joined: Sun Jan 21, 2007 4:33 pm
Posts: 65
Check his website, google "NHibernate Query Generator". As far as I can tell, that's one of a few apps he's made to work with Nhibernate.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 30, 2007 6:55 pm 
Senior
Senior

Joined: Sat Sep 10, 2005 3:46 pm
Posts: 178
he was talking about the batching capability


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 01, 2007 8:54 pm 
Regular
Regular

Joined: Sun Jan 21, 2007 4:33 pm
Posts: 65
jnapier wrote:
he was talking about the batching capability


FWIW, I saw some stuff on batching in the newest commit for Nhibernate's source.


Last edited by Gortok on Mon Apr 02, 2007 6:41 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 02, 2007 1:57 pm 
Senior
Senior

Joined: Sat Sep 10, 2005 3:46 pm
Posts: 178
sorry I meant to say that he was talking about the multi-Query capability
Check out section 15.7 - Multi Query in the documentation.


Not sure why Gortok repeated what I said though.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 02, 2007 6:42 pm 
Regular
Regular

Joined: Sun Jan 21, 2007 4:33 pm
Posts: 65
jnapier wrote:
sorry I meant to say that he was talking about the multi-Query capability
Check out section 15.7 - Multi Query in the documentation.


Not sure why Gortok repeated what I said though.


For some reason, with the Closed Quote on the same line as what I said, it didn't show my text. I edited it so you can see what I wrote.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 03, 2007 11:25 am 
Newbie

Joined: Thu Oct 26, 2006 4:02 pm
Posts: 12
Thanks! From what I can tell, multi query only supports HQL queries. Is there any similar support for criteria based queries?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 03, 2007 2:10 pm 
Senior
Senior

Joined: Sat Sep 10, 2005 3:46 pm
Posts: 178
IMultiCriteria is in the works but there is no timeframe for completion.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 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.