-->
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: Joining with just collection association table.
PostPosted: Thu Jan 26, 2006 10:26 am 
Newbie

Joined: Mon Sep 13, 2004 9:44 am
Posts: 13
Hibernate version: 3.1.0

When querying an entity with a lazy many-to-many collection of entities using FetchMode.JOIN on the collection, Hibernate does a left outer join of the collection association table AND a left outer join of the collection element entity table.

Can Hibernate be persauded do the association table join, BUT NOT the element table join? This would result in a collection that is initialised, but with elements populated from the Session cache (my case), or with proxies (if they're not in the cache).

Regards.
Chris.


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.