code: protected void bindSubClass(HibernatePersistentEntity sub, Subclass subClass, InFlightMetadataCollector mappings,
                                  String sessionFactoryBeanName) {
          bindClass(sub, subClass, mappings);
  
          if (LOG.isDebugEnabled())
              LOG.debug("Mapping subclass: " + subClass.getEntityName() +
                      " -> " + subClass.getTable().getName());
  
          // properties
          createClassProperties(sub, subClass, mappings, sessionFactoryBeanName);
      }
docs: Binds a sub-class using table-per-hierarchy inheritance mapping
  
  @param sub      The Grails domain class instance representing the sub-class
  @param subClass The Hibernate SubClass instance
  @param mappings The mappings instance