Hi,

You can create an empty criteria and not had clauses, like this :

Criteria criteria = new Criteria();
Query query = QueryFactory.newQuery(SitBO.class, criteria);

-----Message d'origine-----
De : Robert S. Sfeir [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 4 février 2004 05:17
À : OJB Users List
Objet : Criteria with select with no where clause?


Can't seem to find a method which would allow me to add a criteria to
return all records in a table.  select * from table without where
clause... what's the trick?

R

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to