code: protected void trackCustomCascadingSaves(Mapping mapping, Iterable<PersistentProperty> persistentProperties) {
          for (PersistentProperty property : persistentProperties) {
              PropertyConfig propConf = mapping.getPropertyConfig(property.getName());
  
              if (propConf != null && propConf.getCascade() != null) {
                  propConf.setExplicitSaveUpdateCascade(isSaveUpdateCascade(propConf.getCascade()));
              }
          }
      }
docs: Checks for any custom cascading saves set up via the mapping DSL and records them within the persistent property.
  @param mapping The Mapping.
  @param persistentProperties The persistent properties of the domain class.