Every thing is troublesome until you know when to use it or not. You are not conditioned on using Lazy load or not by this solution, either option will feet as for every other session management strategy.
You should know depending on the use case which things you eagerly load and which ones you let the lazy load. By no means setting lazy = false to all relation is a good thing, but being too much lazy is also a bad thing :) (which may turn your app in yet another SELECT N+1 problem). Gustavo. On Wed, Mar 11, 2009 at 5:11 PM, LasseL <[email protected]> wrote: > > Tanks.... I've will dig into this more deeper later... > > I did a quick read through and found now text about Lazy Loading.... > From other posts,,, in simular questions it seems like Lazy Loading > can be troublesome. Is there considirations to be aware of > concerning Lazy Loading, using the proposed solutions? > > //lg > > > On 10 Mar, 14:46, Fabio Maulo <[email protected]> wrote: > > > http://fabiomaulo.blogspot.com/2009/01/aspect-conversation-per.htmlhttp://gustavoringel.blogspot.com/2009/02/unhaddins-persistence-conve. > .. > > > > 2009/3/10 LasseL <[email protected]> > > > > > > > > > > > > > > > > > Hi > > > > > I am writing a smart client application, using a business and a data > > > layer architecture. > > > > > A key function in Web application is "unit of work". To support this > > > there is a number of solutions,,, Rhino.Commons, NHibernate Burrow, > > > Martin Fowler (http://nhforge.org/wikis/patternsandpractices/ > > > nhibernate-and-the-unit-of-work-pattern.aspx),,, etc. > > > > > What about client application,,, is there a another "Design pattern" > > > for using NHibernate, or is the requirements the same as for Web > > > application?????? > > > > > Assume you should use the "unit of work" pattern,,, which to use?? Is > > > it overkill to use Rhino.Commons or NHibernate.Burrow ??? > > > > > //regards > > > //newbe > > > //lasse > > > > -- > > Fabio Maulo- Dölj citerad text - > > > > - Visa citerad text - > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
