Talk with your DBA and ask him to demonstrate you which is the problem using guid-uniqueidentifier. If he show you something and then he say something about performance, ask him to show you a situation where the difference in performance is human perceptible.
On Thu, Jan 27, 2011 at 10:54 AM, Carl Hörberg <[email protected]>wrote: > ah, dug in more on the links.. thank you. > > do all you guys use hilo or guid.comb instead? and then reimplemented the > guid.comb/hilo pattern for any data management outside your app? > > On Thu, Jan 27, 2011 at 14:42, Carl Hörberg <[email protected]>wrote: > >> ah, but why does "identity" break UOW? why can't nh defer the id >> assignment as for example L2S? is it not recommended to use "identity", but >> hilo or guid as generator? >> >> On Thu, Jan 27, 2011 at 14:34, Carl Hörberg <[email protected]>wrote: >> >>> yes, i use a mssql server, would it be different with lets say a mysql >>> server? >>> what do you mean by "POID defaults to identity"? >>> >>> On Thu, Jan 27, 2011 at 12:32, Jason Meckley <[email protected]>wrote: >>> >>>> I assume you are using native with a sql server database. in that case >>>> the POID defaults to identity, which "breaks" the unit of work concept in >>>> NH. >>>> >>>> http://fabiomaulo.blogspot.com/2009/02/nh210-generators-behavior-explained.htmland >>>> http://nhforge.org/blogs/nhibernate/archive/2009/03/20/nhibernate-poid-generators-revealed.aspx >>>> >>>> -- >>>> 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- 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.
