On Wed, Feb 19, 2003 at 10:01:26AM +1100, [EMAIL PROTECTED] wrote: > > Currently there is no way to grab contained collections in a single select > (and I have extreme doubts that it would be a performance increase unless > access to the database is over a slow network). A much better approach in > most cases is to make the Map lazy.
In my case the outer collection containts 3000+ elements which itself contain ~10 elements in the map. IMHO it's a difference to make 3000 queries or not. Even when - like in my case - the database is not accessed over a network. Making the map lazy is possible, though. -billy. -- Meisterbohne Söflinger Straße 100 Tel: +49-731-399 499-0 eLösungen 89077 Ulm Fax: +49-731-399 499-9 ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel