Well, disabling part of NH's functionality doesn't look much better to me for integration tests, but he says it's for test data generation.
Diego On Sat, May 22, 2010 at 18:37, nadav s <[email protected]> wrote: > I'm guessing using a different mapping kills the point of the integration > testing > but i'm guessing you can somehow disable it through direct access via code > to the NH configuration or session factory (again, just a guess but you can > play around with the namespaces to see if you have some public > proprty\method that will enable you to do this) > > On Sat, May 22, 2010 at 4:44 PM, Diego Mijelshon > <[email protected]>wrote: > >> Use a different mapping... if you use a code-based method, like Fluent or >> ConfORM, you should be able to pass around a flag to ignore/remove version >> properties... >> >> Diego >> >> >> >> On Fri, May 21, 2010 at 03:14, pvasek <[email protected]> wrote: >> >>> Hello, >>> >>> Is there any way how to temporary disable version checking (that nh >>> just doesn't generate SQL version checking during updates)? >>> >>> It would be really handy for me to just use it during test data >>> generation where I just want to overwrite everything. >>> >>> -- >>> 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. >> > > -- > 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.
