Ok, thanks

Actually I ended college three years ago.. I am using NHibernate from a real 
life application, so 
wanted to learn from experienced people, like you.

But, you are right, it all depends, thanx for the link

----- Original Message ----- 
  From: Fabio Maulo 
  To: [email protected] 
  Sent: Wednesday, July 15, 2009 10:11 AM
  Subject: [nhusers] Re: Are Identity Columns a Bad Practice?


  Cesar, before be NH's committers, or NH's advanced users, we are all 
developers using NH in real life big projects.
  What we do in NH is because we need it in a "production application" and not 
in a university task (I ended the college 20 years ago).
  There is not "best POID", I prefer HighLow, Seq-HighLow, GUID.comb and in 
general all client-side generators and versioning strategies.
  If you want know why click here.




  2009/7/15 Cesar Sanz <[email protected]>

    Hi... Contundent answer..

    Then, which, in your opinion is the best POID strategy for MsSQL RDMS (for 
production applications)?
      ----- Original Message ----- 
      From: Fabio Maulo 
      To: [email protected] 
      Sent: Tuesday, July 14, 2009 10:19 PM
      Subject: [nhusers] Re: Are Identity Columns a Bad Practice?


      The answer is : Yes it is.


      2009/7/13 spiralni <[email protected]>


        Hello,

        I have a question about wich is the best approach when creating my
        tables for using NHibernate.

        What I do almost always is to create an autoincrement column as my
        table id. But I have read a lot of thread that talks about this
        identity strategy (POID) and now I feel I am doing something wrong.

        For instance, I wanted to insert some various registers (bulk
        insertion) and couldn't use batch beacause it doesn't allowed it...

        I will appreciate a lot if you clarify this point.

        Thanks





      -- 

      Fabio Maulo






  -- 
  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
-~----------~----~----~----~------~----~------~--~---

Reply via email to