code: private void checkVersionOnJoinedInheritance(List<String> errors, Config config) {
          for (Entity entity : config.getProject().getRootEntities().getList()) {
              if (entity.hasInheritance() && entity.getInheritance().is(JOINED)) {
                  for (Entity child : entity.getAllChildrenRecursive()) {
                      for (Attribute attribute : child.getAttributes().getList()) {
                          if (attribute.isVersion()) {
                              errors.add(attribute.getFullColumnName() + " is a version column, you should not have @Version in a child joined entity."
                                      + " Use ignore=true in columnConfig or remove it from your table.");
                          }
                      }
                  }
              }
          }
      }
docs: In case of JOINED inheritance we may have added some columns that are in the table but that are not in the entityConfigs. We check here that we have not
  added a version column in a child.
  
  @param errors
  @param config