setDistinct(true)

From: Adrian (kadrianu..ahoo.com)
Date: Mon Aug 04 2003 - 14:49:11 EDT

  • Next message: Tore Halset: "problem using JNDIDataSource"

    If I have a Class with (i.e) five attributes...And I want to perform a query applying a DISTINCT to some of these attributes...How can this behavior be obtained?.
     
    I tried using query.setDistinct(true)...but this seems to use all the fields.
     
    Thx. in advance!

    ---------------------------------
    Do you Yahoo!?
    Yahoo! SiteBuilder - Free, easy-to-use web site design software



    This archive was generated by hypermail 2.0.0 : Mon Aug 04 2003 - 14:44:03 EDT