Use this tag for questions concerning "Hibernate Query Language" (HQL), a query language used by Hibernate and NHibernate.
In Hibernate 3, is there a way to do the equivalent of the following MySQL limit in HQL? select * from a_…
java hibernate hql hibernate3Is there a way to create a Distinct query in HQL. Either by using the "distinct" keyword or some other …
hibernate hql distinctWhen I write a HQL query Query q = session.createQuery("SELECT cat from Cat as cat ORDER BY cat.mother.…
java hibernate sql-order-by hqlHow can I write this SQL query in Hibernate? I would like to use Hibernate to create queries, not create …
java hibernate hqlWhat are the pros and cons of using Criteria or HQL? The Criteria API is a nice object-oriented way to …
java hibernate hql criteria hibernate-criteriaI want to get value from the database, in my case I use List to get the value from the …
java hibernate hqlWhat is the difference between an INNER JOIN and LEFT SEMI JOIN? In the scenario below, why am I getting …
sql hql hiveGiven the following HQL Query: FROM Foo WHERE Id = :id AND Bar IN (:barList) I set :id using the Query …
java hibernate hql