replace org.hibernate.cfg.Environment in ConnectionProfileUtil