get class meta data from entity manager