-->
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.  [ 2 posts ] 
Author Message
 Post subject: Object load limitations
PostPosted: Wed Oct 15, 2003 10:43 am 
Regular
Regular

Joined: Wed Sep 10, 2003 7:09 am
Posts: 63
Hi,

I would like to know if hibernate supports the following funcionality:

Imagine that I have a databse with a great number of tables and relations between them. When I load an object from a table, that object will be created in memory, and then, will be created an object for each associated table, and so on....

This way, a simple query may return MUCH information that may be unessecery. Is there any method of controlling the 'depth' of the created objects?

Thanks,
Joao Rangel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 15, 2003 10:47 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Hibernate supports several strategies, some in metadata, some at runtime. Proxies, lazy loading...

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


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