I did such an upgrade, and that was the best thing I did here. The whole process took 1 or 2 man-day (including testing and deployment) for a 1 year old application developed by 3 developers.
On the contrary, we did not use Nhibernate.Linq, and so we did not need to replace session.Linq to session.Query. Since our platform was relatively new, we were expecting 3.2 and waited for built-in support. On Fri, Apr 20, 2012 at 4:43 PM, Richard Wilde <[email protected]>wrote: > Hi **** > > ** ** > > Has anyone upgraded a NH 2.1 asp.mvc project to NH3.X and if so how > painful was it? **** > > ** ** > > The reason I am a asking is that I have a old NH2.1 project that I have > used the NHibernate.Linq.dll extensively. I am pretty sure that I can’t use > the old 2.1 Linq provider with NH3.2 Is this a correct assumption? **** > > If this is an correct assumption then I am hoping I just need to do a find > and replace of session.Linq to session.Query within all my repositories. > Has anyone done such a thing?**** > > ** ** > > I do have several hundred unit tests that don’t test the actual database > rather than the controller logic. However I do have **mostly** all pages > retrieving data using selenium but not so hot on the saving side. So my > second question is should I write more integration covering tests that > saves data to the database OR create a sql lite testing suite? **** > > ** ** > > All help/advice/comments are very much appreciated.**** > > ** ** > > Richard**** > > -- > 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. > -- 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.
