10 secs looks a little long... have you tried serializing the configuration? You have an example in Oren's Effectus, check http://github.com/ayende/Effectus/blob/master/Effectus/Infrastructure/BootStrapper.cs
Diego On Thu, Mar 25, 2010 at 01:25, Schotime <[email protected]> wrote: > Probably not experiencing any REAL perf problems Diego, but coming > from a writing hand sql background it scares me a little. hehe. > > One thing that is a bit slow is the application start. Takes about 10 > secs to intialise nHibernate at app start? > We have around 25 tables. Is this normal? > > Thanks > > Adam > > On Mar 24, 1:35 pm, Diego Mijelshon <[email protected]> wrote: > > With NHibernate 3 you can create lazy properties. > > But first, make sure you are not optimizing prematurely. Are you > > experiencing REAL performance problems if you load the full object? If > so, > > have you tried enabling caching? > > > > Diego > > > > > > > > On Tue, Mar 23, 2010 at 21:09, Schotime <[email protected]> wrote: > > > Quick question.. > > > > > I have a user who belongs to a company (m:1) but the company has over > > > 20 fields, but most of the time I only need a few. Is there a way to > > > have a component (or something/1:1) mapping where the other fields can > > > be lazy loaded. > > > > > Could I put all the extra fields in a new class CompanyInfo and only > > > load CompanyInfo when you access it? > > > > > Thanks. > > > Adam > > > > > -- > > > 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]<nhusers%[email protected]> > <nhusers%[email protected]<nhusers%[email protected]>> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/nhusers?hl=en. > > -- > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- 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.
