AFAIR method **afterTransactionCompletion** is invoked also after fail on committing transaction and if **begin** is set to **false** in method **session.getTransaction** we get new transaction without roll backed previous one. If **begin** is set to **true** we get **org.hibernate.TransactionException: nested transactions not supported**. It should be deeper investigated. Changes affect many tests and implementations. I will add *TODO* and create ticket on JIRA