You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by br...@apache.org on 2004/04/21 19:11:12 UTC
cvs commit: db-ojb/src/java/org/apache/ojb/broker/query Criteria.java
brj 2004/04/21 10:11:12
Modified: src/java/org/apache/ojb/broker/query Criteria.java
Log:
deprecated addOrderBy(String fieldName, boolean sortAscending)
Revision Changes Path
1.43 +2 -1 db-ojb/src/java/org/apache/ojb/broker/query/Criteria.java
Index: Criteria.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/query/Criteria.java,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- Criteria.java 4 Apr 2004 23:53:36 -0000 1.42
+++ Criteria.java 21 Apr 2004 17:11:12 -0000 1.43
@@ -513,6 +513,7 @@
* Adds a field for orderBy
* @param fieldName the field name to be used
* @param sortAscending true for ASCENDING, false for DESCENDING
+ * @deprecated use QueryByCriteria#addOrderBy
*/
public void addOrderBy(String fieldName, boolean sortAscending)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org
per criteria hints
Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi phil,
thanks for your patch. i just cheked it in.
jakob
Jakob Bräuchi wrote:
> hi phil,
>
> i also made the change in the criteria you sent me. but i didn't have time
> to check your solution.
>
> jakob
>
>
>>Hi Jakob,
>>
>>I noticed this commit and wondered if you might be able to look over my
>>patches regarding per-criteria pathClass before the code diverges too
>>far...
>>
>>Phil
>>
>>brj@apache.org wrote:
>>
>>
>>>brj 2004/04/21 10:11:12
>>>
>>> Modified: src/java/org/apache/ojb/broker/query Criteria.java
>>> Log:
>>> deprecated addOrderBy(String fieldName, boolean sortAscending)
>>>
>>> Revision Changes Path
>>> 1.43 +2 -1
>>>db-ojb/src/java/org/apache/ojb/broker/query/Criteria.java
>>>
>>> Index: Criteria.java
>>> ===================================================================
>>> RCS file:
>>>/home/cvs/db-ojb/src/java/org/apache/ojb/broker/query/Criteria.java,v
>>> retrieving revision 1.42
>>> retrieving revision 1.43
>>> diff -u -r1.42 -r1.43
>>> --- Criteria.java 4 Apr 2004 23:53:36 -0000 1.42
>>> +++ Criteria.java 21 Apr 2004 17:11:12 -0000 1.43
>>> @@ -513,6 +513,7 @@
>>> * Adds a field for orderBy
>>> * @param fieldName the field name to be used
>>> * @param sortAscending true for ASCENDING, false for DESCENDING
>>> + * @deprecated use QueryByCriteria#addOrderBy
>>> */
>>> public void addOrderBy(String fieldName, boolean sortAscending)
>>> {
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>>>For additional commands, e-mail: ojb-dev-help@db.apache.org
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>>For additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org
Criteria.java
Posted by Jakob Bräuchi <jb...@gmx.ch>.
hi phil,
i also made the change in the criteria you sent me. but i didn't have time
to check your solution.
jakob
> Hi Jakob,
>
> I noticed this commit and wondered if you might be able to look over my
> patches regarding per-criteria pathClass before the code diverges too
> far...
>
> Phil
>
> brj@apache.org wrote:
>
> > brj 2004/04/21 10:11:12
> >
> > Modified: src/java/org/apache/ojb/broker/query Criteria.java
> > Log:
> > deprecated addOrderBy(String fieldName, boolean sortAscending)
> >
> > Revision Changes Path
> > 1.43 +2 -1
> > db-ojb/src/java/org/apache/ojb/broker/query/Criteria.java
> >
> > Index: Criteria.java
> > ===================================================================
> > RCS file:
> > /home/cvs/db-ojb/src/java/org/apache/ojb/broker/query/Criteria.java,v
> > retrieving revision 1.42
> > retrieving revision 1.43
> > diff -u -r1.42 -r1.43
> > --- Criteria.java 4 Apr 2004 23:53:36 -0000 1.42
> > +++ Criteria.java 21 Apr 2004 17:11:12 -0000 1.43
> > @@ -513,6 +513,7 @@
> > * Adds a field for orderBy
> > * @param fieldName the field name to be used
> > * @param sortAscending true for ASCENDING, false for DESCENDING
> > + * @deprecated use QueryByCriteria#addOrderBy
> > */
> > public void addOrderBy(String fieldName, boolean sortAscending)
> > {
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> > For additional commands, e-mail: ojb-dev-help@db.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
--
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgeb�hr: http://www.gmx.net/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org
Re: cvs commit: db-ojb/src/java/org/apache/ojb/broker/query Criteria.java
Posted by Phil Warrick <ph...@mcgill.ca>.
Hi Jakob,
I noticed this commit and wondered if you might be able to look over my
patches regarding per-criteria pathClass before the code diverges too far...
Phil
brj@apache.org wrote:
> brj 2004/04/21 10:11:12
>
> Modified: src/java/org/apache/ojb/broker/query Criteria.java
> Log:
> deprecated addOrderBy(String fieldName, boolean sortAscending)
>
> Revision Changes Path
> 1.43 +2 -1
> db-ojb/src/java/org/apache/ojb/broker/query/Criteria.java
>
> Index: Criteria.java
> ===================================================================
> RCS file:
> /home/cvs/db-ojb/src/java/org/apache/ojb/broker/query/Criteria.java,v
> retrieving revision 1.42
> retrieving revision 1.43
> diff -u -r1.42 -r1.43
> --- Criteria.java 4 Apr 2004 23:53:36 -0000 1.42
> +++ Criteria.java 21 Apr 2004 17:11:12 -0000 1.43
> @@ -513,6 +513,7 @@
> * Adds a field for orderBy
> * @param fieldName the field name to be used
> * @param sortAscending true for ASCENDING, false for DESCENDING
> + * @deprecated use QueryByCriteria#addOrderBy
> */
> public void addOrderBy(String fieldName, boolean sortAscending)
> {
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org