You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Sy...@swisscom.com on 2003/04/15 13:20:39 UTC
How to implement a DISTINCT
Hello,
I have this code:
----code----
Query query = new QueryByCriteria(Application.class, null);
Iterator iter = broker.getIteratorByQuery(query);
----code----
I would like to insert a DISTINCT to the field Application.applicationName.
How could I do that?
Thanks
Sylvain
Re: How to implement a DISTINCT
Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi sylvain,
QueryByCriteria q = QueryFactory.newQuery(ProductGroup.class, crit, true);
hth
jakob
Sylvain.Thevoz@swisscom.com wrote:
>Hello,
>
>I have this code:
>
>----code----
>Query query = new QueryByCriteria(Application.class, null);
>
>Iterator iter = broker.getIteratorByQuery(query);
>----code----
>
>I would like to insert a DISTINCT to the field Application.applicationName.
>
>How could I do that?
>
>Thanks
>Sylvain
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>
>