db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mahler <thm...@web.de>
Subject Re: Query vs. Criteria
Date Tue, 11 Mar 2003 07:00:25 GMT
Hi Jakob,

I think you are right that it belongs to Query rather than Criteria.
In the past we treated Query almost only as a container for the "real" 
queries either Criteria or Sql based.

So may thats why we put some stuff into Criteria that should got to Query.

cheers,
Thomas

Jakob Braeuchi wrote:
> hi all,
> 
> i just commited my first try to support HAVING-clause for queries.
> query has a new method setHavingCriteria(Criteria) thus query contains 
> TWO criteria the WHERE-criteria and the HAVING-criteria.
> 
> during this work i was thinking about the groupBy attributes. imo 
> groupBy should be moved from Criteria to Query as there's only one 
> groupBy in a Query. i have to admit that afaik it was me adding groupBy 
> to Criteria :( .
> 
> what do you think about ?
> 
> jakob
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 



Mime
View raw message