Distinct

From: Jan Lendholt (jlendhol..otmail.com)
Date: Thu Aug 02 2007 - 11:17:10 EDT

  • Next message: Andrus Adamchik: "Re: Distinct"

    Hey all, it's me again.

    i tried to set up a statement like this:

    SelectQuery q_catering = new SelectQuery(ServiceKundeLocation.class,
    ExpressionFactory.matchExp(ServiceKundeLocation.LID_PROPERTY,
    buchung.getToEvent().getLid()));
    q_catering.setDistinct(true);

    List caterings = Application.getApp().getContext().performQuery(q_catering);

    Instead of getting a DISTINCT operator in the executed sql it is msssing.

    Is there a special trick to activate the distinct clause? Or is there a
    memory-based distinction?

    Thanks in advance,

    Jan

    _________________________________________________________________
    Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit
    Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu!
    http://desktop.msn.de/ Jetzt gratis downloaden!



    This archive was generated by hypermail 2.0.0 : Thu Aug 02 2007 - 11:17:45 EDT