isolate org.hibernate.Query and replace by org.jboss.tools.hibernate.spi.Query