Feature Requests item #673173, was opened at 2003-01-23 08:37
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428711&aid=673173&group_id=40712

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Really lazy collection loading

Initial Comment:
It seems that the lazy collection loading implemented in
Hibernate loads all the objects in the collection when the
collection is accessed (an object is read, or added or
removed).
That means that it is impossible to have collections that
contain many objects.

It would be great to have the objects loaded in memory only
when they are retrieved from the collection, not all
the objects.

I suggest the loaded objects are added to the session cache
only when they are added or retrieved from a collection,
and removed from memory when the session is flushed and if
they are no more referenced outside of the collection.

Then it would be possible to have collections that
contain too
many objects to fit into memory. It think that would be
a major
feature for Hibernate.

I need this, to be able to deal with collections that
contain
several thousands of big objects. Typically I need to
manipulate
one collection that contains 50000 objects of 6kbyte each.
It is currently impossible with Hibernate.

----------------------------------------------------------------------

Comment By: Mark Woon (unkyaku)
Date: 2003-01-23 18:16

Message:
Logged In: YES 
user_id=435832

I second this feature.  I think this has been brought up
before in the mailing list.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428711&aid=673173&group_id=40712


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to