LOL... Problem found!! 2009/11/23 Oskar Berggren <[email protected]>
> It seems impossible to find reference documentation for the HiLo > construct in fluent nhibernate. > > What does that number, 0, mean? I've seen examples where this is given > as 1000 instead. Is this the number of objects that should be created > for each hi_part fetched from the database? > > /Oskar > > > 2009/11/23 Tazer <[email protected]>: > > Well its not much to it (using fluentnhibernate). > > > > Id(x => x.Id).GeneratedBy.HiLo("0"); > > > > Rest should handle it self? > > > > On 23 Nov, 15:59, Oskar Berggren <[email protected]> wrote: > >> Maybe there is a problem with your id generator. > >> > >> /Oskar > >> > >> 2009/11/23 Tazer <[email protected]>: > >> > >> > Hello , > >> > >> > Im trying to insert around 20000 object in batches of 256. But the > >> > problem im getting is that HiLo select for every object im inserting > >> > so it makes 40000 request to the database (select/update) But what i > >> > have read it should have it internaly when selected ones in the > >> > SessionFactory? And im just using one SessionFactory. Have tried both > >> > with normal session and the statelessSession. > >> > >> > -- > >> > >> > 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 athttp:// > groups.google.com/group/nhusers?hl=. > > > > -- > > > > 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=. > > > > > > > > -- > > 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=. > > > -- Fabio Maulo -- 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=.
