ClassMetadataFactory fix: add entity alias (which defined in targetEntityMappings) to the metadata map