-->
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.  [ 1 post ] 
Author Message
 Post subject: Question concerning fetch="join"
PostPosted: Fri Oct 14, 2005 7:39 am 
Newbie

Joined: Thu Oct 13, 2005 3:40 am
Posts: 3
When using fetch="join" different data is returned than using fetch="select". Is this a wanted feature? I thought it would simply change the way NHibernate loads the same data.

fetch="select": Executes one query per subobject (if batch-size="1")

fetch="join": Generates an outer join in sql which leads to a wrong parent-object count.

I have found this changeset entry:

:arrow: http://fisheye.cenqua.com/changelog/nhi ... 1003125708

which leads me to the conclusion that this feature concerns a bug because it is experimental and was not tested well.

Thank you for any advise, I am working on this problem for days now... :(
As a work around I could use HQL, right?

For a more detailed problem description have a look at my earlier post:
http://nhibernate.sourceforge.net/forum ... php?t=1017


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

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.