You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Java Mails <av...@yahoo.com> on 2002/04/10 06:33:57 UTC

setDistinct of criteria

 Hi guys...
I have a problem using setDistinct of criteria. Tho it doesnt throw any exception, it doesnt seem to work either.
i just did a straightforward
         Criteria c = new Criteria();
         c.setDistinct();

        Vector v = myTablePeer.doSelect(c)


am I missing out something here? It returns nothing(table contains data).

can anyone be of help?



---------------------------------
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

Broken Links on Website

Posted by Eric Pugh <ep...@upstate.com>.
Hi all,

I was going through the website, trying to see what has changed since I last
used Turbine, and noticed some info about the Turbine Documentation Project.

On the page:
http://jakarta.apache.org/turbine/turbine-2/todo.html

there are some broken links:
http://java.apache.org/jyve-faq/Turbine
http://jakarta.apache.org/turbine/turbine-2/turbine-documentation-project.ht
ml

I have been playing around with Canoo, and it has some really great link
checker task built in if that is of help.

Eric


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: setDistinct of criteria

Posted by Java Mails <av...@yahoo.com>.
 im using mysql 3.2
 select distinct * from MY_TABLE;  ---- doesnt work.. give me the entire content of table

select distinct  from MY_TABLE;--- sql error


 

  John McNally <jm...@collab.net> wrote: what database is this? and have you tried a select distinct * from
MY_TABLE;
does that return results?

john mcnally

Java Mails wrote:
> 
> Hi guys...
> I have a problem using setDistinct of criteria. Tho it doesnt throw any exception, it doesnt seem to work either.
> i just did a straightforward
> Criteria c = new Criteria();
> c.setDistinct();
> 
> Vector v = myTablePeer.doSelect(c)
> 
> am I missing out something here? It returns nothing(table contains data).
> 
> can anyone be of help?
> 
> ---------------------------------
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



---------------------------------
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

Re: setDistinct of criteria

Posted by John McNally <jm...@collab.net>.
what database is this?  and have you tried a select distinct * from
MY_TABLE;
does that return results?

john mcnally

Java Mails wrote:
> 
>  Hi guys...
> I have a problem using setDistinct of criteria. Tho it doesnt throw any exception, it doesnt seem to work either.
> i just did a straightforward
>          Criteria c = new Criteria();
>          c.setDistinct();
> 
>         Vector v = myTablePeer.doSelect(c)
> 
> am I missing out something here? It returns nothing(table contains data).
> 
> can anyone be of help?
> 
> ---------------------------------
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>