Use this tag for questions concerning "Hibernate Query Language" (HQL), a query language used by Hibernate and NHibernate.
A simple question: In this example I need to retrieve all objects, but these objects must have distinct msgFrom fields. …
hibernate hqlI want to execute the below query in Hibernate? select count(*) from login where emailid='something' and password='something'
hibernate hqli have a table Permission: id name desc what i am doing right now is to make a query that …
hibernate hql hibernate-mappingIs there any way to do the following in HQL: SELECT case when flag = true then SUM(col1) else SUM(…
nhibernate hibernate hqlHibernate doesn't delete my row: public boolean deleteVote(Login user, int pid){ Session session = getSession(); try{ String hql = "delete from …
hibernate hql hql-deleteI need to combine 2 tables using hql, both are having common column, but table1 common column is integer and table2 …
java hibernate hql