|
Hi.
NH Version = 1.2.0
.NET = 2.0
I'm trying to save a master/detail relationship. When I get an exception, I call transaction.Rollback(). Ok, that's right!
But after the Rollback(), I call Server.Transfer() and the Page_Load calls an HQL SELECT COUNT command. At this momment, the data Rollbacked before are persisted!
Is it normal? Note that calling Server.Transfer(), the same session that is used to exec the RollBack is used to exec the SQL (I use the pattern Session Per Request).
It seems strange.
Bye.
|