replace use of org.hibernate.cfg.Environment by org.jboss.tools.hibernate.spi.IEnvironment