0 Replies Latest reply on Dec 21, 2006 2:22 PM by hroriz

    HQL queries and JBoss 4.0.5.GA

    hroriz

      Hi there,

      I am new to Hibernate and JBoss. I am trying to implement some HQl queries to run in my EJ3 environment.

      Does HQL supports SQL set keywords like IN and LIKE?

      Another basic problem is how can I execute HQL queries in my code? The tutorial in

      http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html_single/index.html#preface

      Speaks about org.hibernate.ejb.QueryImpl which actually does not exist. QueryImpl can be found in org.hibernate.impl.QueryImpl. Furthermore, the method getHibernateQuery() does not exist in QueryImpl... how can I anyway execute an HQL query?

      My environment is JBoss 4.0.5 (EJB3) + Hibernate 3

      Thanks for any help!