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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
