code: public void putEntity(Entity entity) {
          Assert.isTrue(entity.hasTableName(), "Expecting a table name for the entity: " + entity.getName());
          Assert.isTrue(!hasEntityBySchemaAndTableName(entity.getTable().getSchemaName(), entity.getTable().getName()), "Entity was already added!: " + entity.getTableName());
          currentEntitiesByTableName.put(entity.getTable().getName().toUpperCase(), entity);
          currentEntitiesBySchemaAndTableName.put(entity.getTable().asKeyForMap(), entity);
      }
docs: Store 1 entity per table name. In case of inheritance you must pass the root entity only.