code: protected void doCleanupAfterCompletion(Object transaction) {
          ContextSourceAndHibernateTransactionObject actualTransactionObject = (ContextSourceAndHibernateTransactionObject) transaction;
  
          super.doCleanupAfterCompletion(actualTransactionObject
                  .getHibernateTransactionObject());
          ldapManagerDelegate.doCleanupAfterCompletion(actualTransactionObject
                  .getLdapTransactionObject());
      }
docs: /*
  @see org.springframework.orm.hibernate5.HibernateTransactionManager#doCleanupAfterCompletion(java.lang.Object)