Query query = session.createQuery(\"Update Contact set firstname = \'sdf\' where firstname= \'Deepak\'\");
I have following MySql dependent code ( ORDER BY RAND() ) . I would like to know if there is hibernate HQL alternative for it (admin is boolean tag indicating that the user as an admin). This is worki
I have something similar to the following HQL: select count(distinct car.id), count(distinct w1.id), count(distinct w2.id),
I have an entity in a hibernate instance called keywords. It stores a list of words and the number of times each word occurs. Words are not unique. I want to sum the total for each word in the list. I
I have 3 classes like: public class Animal { ... all sort of data ... } public class Cat : Animal { ... more data ...
Does HQL support conditional expressions in aggregate functions? I would like to do something like this
Can anyone point me to how we c开发者_如何学JAVAan pass an order by clause as a named parameter to HQL?
I am using a HQL query to get a bunch of state objects like so: <cfquery name=\"LOCAL.qStates\" dbtype=\"hql\">
I\'m an absolute hql newbie so bear with me... How do I write a hql query to retrieve the parent object of a child object?
I was having a problem in getting result through hibernate. I have four tables SnsUser, Participant, Interaction, Content;