replace org.hibernate.cfg.Environment in HBMInfoExtractor