That's easy:

Query query = new QueryByCriteria(<data model class>, null)
Collection c = broker.getCollectionByQuery(query);




From: "Robert S. Sfeir" <[EMAIL PROTECTED]>
Reply-To: "OJB Users List" <[EMAIL PROTECTED]>
To: OJB Users List <[EMAIL PROTECTED]>
Subject: Criteria with select with no where clause?
Date: Tue, 03 Feb 2004 23:17:01 -0500

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]


_________________________________________________________________
Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/



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



Reply via email to