code: public void beforeNullSafeOperation(SharedSessionContractImplementor session) {
      	
      	ConfigurationHelper.setCurrentSessionFactory(session.getFactory());
      	if (this instanceof IntegratorConfiguredType) {
      		((IntegratorConfiguredType)this).applyConfiguration(session.getFactory());
      	}
      }
docs: Included to allow session state to be applied to the user type
  @param session The session