use the correct class name to retrieve mapped class' metadata and repository