From: Christian M. <vc...@cl...> - 2002-08-01 14:18:35
|
Just quoting Gavin here: "P.S. We really need to implement caching for collections if we want to use this stuff most efficiently. I don't think theres anything particularly technically difficult about that ... I just need to *do* it. If anyone else wants to volunteer for this, give me a yell and I'll tell you what needs to be done...." So i guess give a tell to Gavin ;) ----- Original Message ----- From: "Urberg, John" <ju...@ve...> To: <hib...@li...> Sent: Thursday, August 01, 2002 3:45 PM Subject: [Hibernate-devel] Getting Collections to pull data from the cache > I issue a query to get all messages from the database. I then get all staff > from the database. Staff has a collection of messages based on the staff id > on the message. All the messages are already loaded, but there are still > seperate SQLs generated for each staff to get it's messages. > > Is there a way to get Hibernate to look in the cache when loading > collections? If not, could someone give me a few pointers on where in the > code I should look to add such a feature? (I envision a switch on session > to tell it to look in the cache or not). > > Thanks, > John > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Hibernate-devel mailing list > Hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > |