@Entity public class Person implements Serializable { private int id; ........... private Set<Languages> languages = new HashSet<Languages>();
I\'m using Grails 1.2.4. I would like to know on how can I sort by \"countDistinct\" (descending) and with groupProperty inside a projections.
I have a SQL query I\'m having trouble creating using NHibernate Criteria: SELECT ID, COLA, COLB, COLC
quick symfony / propel question. I have the following propel collection route: api_offer: class: sfPropelRouteCollection
Well as the question title says, I am trying to make a projection criteria querying only couple of the table attributes.
I want a criteria that only selects bla1 and bla2 from all attributes of a given domain Foo.findAll() or
I would like to use a hibernate criteria object as a subquery on a second criteria, like this: DetachedCriteria latestStatusSubquery = DetachedCriteria.forClass(BatchStatus.class);
I have a query which has an Order By clause. The generated SQL fro开发者_Go百科m NHibernate looks like
I want to retrieve a collection property using criteria public class A { private Collection<B> property
I try to translate thi开发者_StackOverflow中文版s query into Criteria (with Propel), but without success.