hql might help, don't know... Tuna Toksöz Eternal sunshine of the open source mind.
http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Jul 30, 2009 at 5:56 PM, lukefrice <[email protected]> wrote: > > Do you know of a better way to quickly retrieve only certain fields? > Right now my queries are taking about 3 seconds to load 8 records and > thats with all the collections being lazy loaded. > > On Jul 30, 9:48 am, Tuna Toksoz <[email protected]> wrote: > > This feature is not implemented in Criteria. > > > > Tuna Toksöz > > Eternal sunshine of the open source mind. > > > > > http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitter.com/tehlike > > > > > > > > On Thu, Jul 30, 2009 at 4:15 PM, lukefrice <[email protected]> wrote: > > > > > And just to let you know, it is basically necessary for me to only > > > load these properties and this one collection, because the Person > > > table has over 80 properties. Thats the way it had to be built, but i > > > dont need most of those in this situation. Thanks in advance. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
