replace org.hibernate.cfg.Environment in ConsoleConfiguration