Regular |
|
Joined: Tue Mar 15, 2005 12:38 pm Posts: 73 Location: Bucharest
|
I may though give you an advice... In my opinion although the scenario is not common it is though expected... You can evict the objects that caused the exception from the session using session.Evict or even session.Clear to clear-out the session.
Of course that this is not a good idea for any kind of exception, you should apply this only in the case of an ADO exception and if the items being saved are not many (in complex situations I'm not sure of what entity caused the exception and what to evict).
_________________ Dragos
|
|