-->
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: if one-to-many, and set has large blobs...
PostPosted: Sun Aug 12, 2007 8:00 pm 
Newbie

Joined: Sun Aug 12, 2007 7:56 pm
Posts: 2
Say I have Parent class and Parent has getChildren, which is mapped using a one-to-many set mapping.

If my Children are all very large blob objects and I query to getParent, does this pull down all the children as well? As per my understanding, it would, but I am a major hibernate newbie.

And if so, what is the best way to accomplish such a mapping without having to pull down all the large blob children, but rather only get them on demand? Is it better to store just the ids and somehow store the blob children in seperate tables?

thank you.


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.