I'm willing to bet money that INSERTS can't be batched if you are using native generator. NHib needs to get the identity back for each record inserted.
-Ryan Rinaldi blog: http://ryanrinaldi.com On Wed, Mar 11, 2009 at 12:40 PM, graphicsxp <[email protected]>wrote: > > > Ayende> SQL Server 2005 > > Fabio > native > > Tuna > Thanks for the link. > > Still not sure what to think of this.... I still don't understand why > my INSERT are not batched. > One still I realised though by reading this article, is that using a > generated key means nh does a select before each insert, and i'm not > sure I like that :( > > On 11 mar, 17:15, Tuna Toksoz <[email protected]> wrote: > > Let me give the link Fabio > > > > http://fabiomaulo.blogspot.com/2009/02/nh210-generators-behavior-expl... > > > > Tuna Toksözhttp://tunatoksoz.comhttp://turkiyealt.nethttp:// > twitter.com/tehlike > > > > Typos included to enhance the readers attention! > > > > On Wed, Mar 11, 2009 at 7:07 PM, Fabio Maulo <[email protected]> > wrote: > > > 2009/3/11 Ayende Rahien <[email protected]> > > > > >> what db are you using? > > > > > And which POID generator ? > > > ;) > > > -- > > > 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=en -~----------~----~----~----~------~----~------~--~---
