|
Hi,
I'm just wondering if its possible to call rollback on the transaction object passed to the BeforeTransactionCompletion method of an Interceptor.
If not, which is the last method in the Interceptor lifecycle where I can still rollback the transaction?
The documentations states that the BeforeTransactionCompletion method is: 'Called before a transaction is committed (but not before rollback)'
This is why I assumed that I could roll back during this method.
Thank You
Guido Tapia
Hibernate version:
1.2GA
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
at NHibernate.Transaction.AdoTransaction.AfterTransactionCompletion(Boolean successful)
at NHibernate.Transaction.AdoTransaction.Commit()
at PicNet.Data.TransactedOperation.Commit() in
Name and version of the database you are using:
SQL 2005
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
|