1. hibernate HQL elements error stackoverflow.comMy HibernateUserImpl mapping look like below
I do HQL query like
|
2. HQL to get elements that possess all items in a set stackoverflow.comCurrently, I have an HQL query that returns all Members who possess ANY Award from a set of specified Awards:
What ... |
3. HQL to get elements that possess all items in a set forum.hibernate.org |
4. HQL How to use in elements() forum.hibernate.org |
5. HQL: is it possible to access elements of elements? forum.hibernate.orgSELECT person FROM Person person WHERE EXISTS ( SELECT kitten FROM Kitten kitten WHERE kitten.name in ('Moses', 'Shrek') ... |
6. basic HQL question about elements() function forum.hibernate.org |
7. HQL, "all elements" parameters forum.hibernate.orgObject result = RequestContext.getHibernateSession().createQuery( "select 1 from CalendarEventPersonImpl cal where publicEvent = true and creator = all elements(:persons) and calendarEventType.id IN (:calendarEventTypeList) and startTime < current_timestamp() and endTime > current_timestamp()") .setParameterList("persons", persons) .setParameterList("calendarEventTypeList", new String[] {"EVENT_HOLIDAY", "EVENT_ABSENCE", "EVENT_VACATION"}) ... |