The Spring transaction reference states in the section about declarative transaction management that you can insert custom behavior in the case of transaction rollback. Unfortunately, it is not said how to do this.
I really need to handle rollbacks in order to recover the Hibernate session.