-->
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.  [ 3 posts ] 
Author Message
 Post subject: Force NHibernate to use inner join using ICriteria
PostPosted: Thu Oct 19, 2006 5:32 am 
Newbie

Joined: Sun Nov 27, 2005 2:31 pm
Posts: 12
Location: Dublin
Hi,

I would like to force NHibernate to use inner join instead of left outer join when I use ICriteria. So for I don't see any way how to do this. FetchMode doesn't seem to work for me in this particular case.

thanks

Pawel Pabich


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 19, 2006 6:25 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
In Beta2 you will be able to use ICriteria.CreateCriteria(..., JoinType joinType).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 19, 2006 7:50 am 
Newbie

Joined: Sun Nov 27, 2005 2:31 pm
Posts: 12
Location: Dublin
Thanks, that's cool.

Pawel Pabich


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