-->
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: No joins and no WHERE clauses
PostPosted: Wed May 04, 2005 5:08 am 
Beginner
Beginner

Joined: Thu Feb 03, 2005 12:48 pm
Posts: 22
I have enought memory to load the whole database in obects.
I would like to read all the tables only once in the most efficient way and then have everything in cache.

Therefore, I would like the have a SELECT statement reading all the rows to run one and only one time on each table, with no joins and no where clauses.

Is this possible with Hibernate ?

If I have for example a class Customer with a ont-to-many collection pointing on Order, how can a single SELECT statement on the orders table populate simultaneously all the collections on all the Customer instances ?

Thanks


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.