You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Sean Dockery <us...@sbdconsultants.com> on 2003/12/30 19:29:20 UTC
QueryFactory.newQuery(Class, Critiera) vs. QueryByCriteria
The examples on the OJB web site show code that uses the following...
Query query = new QueryByCriteria(Product.class, criteria);
...instead of...
Query query = QueryFactory.newQuery(Product.class, critiera);
Would one ever choose the former style of the latter?
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org