Use this tag for questions concerning "Hibernate Query Language" (HQL), a query language used by Hibernate and NHibernate.
Hive uses IF(condition, expression, expression), so when I want to do if / else if / else if / else, I have …
hive hqlI am trying to understand the difference between LEFT JOIN and LEFT JOIN FETCH in Hibernate. Can anyone explain this? …
hibernate hql fetching-strategyI try to generate a HQL query that include user with a empty appoinment collections(mapped by OneToMany): SELECT u …
sql hibernate hqlI am trying following hql query to execute SELECT count(*) FROM BillDetails as bd WHERE bd.billProductSet.product.id = 1002 AND …
hibernate hql jpa-2.0 dereference jpa-2.1I tried this: from Table where (:par1 is null or col1 = :par1) but it happens that from Table where :par1 …
hibernate hqlI had two hibernate entity here with annotation: @Entity @Table(name = "CLIENT") public class Client { private Long pkClient; private String …
java hibernate hql hibernate-annotations named-queryI am working on a search query using HQL and everything works find until I get to the LIKE clause. …
hibernate hqlTrying to create an object from an HQL query, but just can't figure out what i'm doing wrong. Query: String …
hibernate object hql playframeworkIf my query contains one class, like: query = session.createQuery("select u from User as u"); queryResult = query.list(); then …
java hibernate hql