Probably, but it will not be faster in terms of application response. NHibernate 1.2 and above requires transactions for both reads and writes to obtain optimum performance. If you are not using explicit transactions ADO.Net will add them to every db access =, which is why your application is working today,and perhaps why there may be performance issues.
I migrated a working application for 1.2 to 2.1.2GA with no issues, but then I was using a very vanilla implementation of NHibernate. I also added transactions throughout and obtained better performance. The migration happen in less than 2 hours for a relatively complex architecture, but the 1200+ unit tests helped my comfort level. John Davidson On Tue, Jul 20, 2010 at 4:37 PM, Alexandre Santos <[email protected]>wrote: > Hi, > > I have the scenario: > - My software uses nhibernate 1.2 and Sql Server 2005 or Oracle 10G > - I don´t use transaction to manipulate data (read or write) > - Now I need connect the to Sql Server 2008, in faster way > - I don´t use features or data types from Sql Server 2008 > - I just wanna use Sql Server 2008 as data respository > - The url above indicates some items to use nhibernate 2.x and I´m > worry to migrate to 2.x > http://stackoverflow.com/questions/27243/nhibernate-1-2-to-2-0-migration > > > In summary: I want to continue with 1.2, using dialect > NHibernate.Dialect.MsSql2005Dialect do connect Sql 2008. > This is because i need deploy my application in one week. > Is it possible and a good option? > > > > Thanks for help. > Alexandre. > > -- > 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.
