Hi,

I'm about to start upgrade a major web application from NH 1.2.1GA to
2.1.2GA.

I've already read the "NHibernate 1.2 to 2.0 Breaking Changes" post on
https://forum.hibernate.org/viewtopic.php?t=985289

Is there anything else I need to be aware ?

The application code is not using transaction for reads. I'm pretty
sure there are some part were transactions are not even used for
updates/writes; think SaveOrUpdate() calls followed by explicit
session flush. There are some basic unit tests, but nothing of high
value that could reliably indicate failure when upgrading. For these
reasons, I'm a bit worried.

Is it true that transaction are needed in 2.x for all CRUD
operations ? If so then I would assume starting a transaction with an
ASP.NET HttpModule on every page hit would be the best way to ensure
transactions are used. There is currently such a module that open a
session, but does not start a transaction.

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