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 2003/12/08 18:56:12 UTC

cvs commit: db-ojb/src/java/org/apache/ojb/broker/query Query.java

brj         2003/12/08 09:56:12

  Modified:    src/java/org/apache/ojb/odmg/oql EnhancedOQLQuery.java
               src/java/org/apache/ojb/broker/query Query.java
  Log:
  fullSize methods of Query are deprecated
  
  Revision  Changes    Path
  1.3       +6 -1      db-ojb/src/java/org/apache/ojb/odmg/oql/EnhancedOQLQuery.java
  
  Index: EnhancedOQLQuery.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/oql/EnhancedOQLQuery.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EnhancedOQLQuery.java	17 Jun 2002 19:34:32 -0000	1.2
  +++ EnhancedOQLQuery.java	8 Dec 2003 17:56:12 -0000	1.3
  @@ -60,5 +60,10 @@
   public interface EnhancedOQLQuery extends OQLQuery
   {
   	void create(String queryString, int startAtIndex, int endAtIndex) throws QueryInvalidException;
  -	int fullSize();
  +	
  +    /**
  +     * @deprecated 
  +     * @return
  +     */
  +    int fullSize();
   }
  
  
  
  1.14      +10 -2     db-ojb/src/java/org/apache/ojb/broker/query/Query.java
  
  Index: Query.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/query/Query.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Query.java	20 Nov 2003 19:29:33 -0000	1.13
  +++ Query.java	8 Dec 2003 17:56:12 -0000	1.14
  @@ -154,7 +154,7 @@
       int getEndAtIndex();
   
       /**
  -     * Set the row at which the query should stop retieving results, inclusive.
  +     * Set the row at which the query should stop retrieving results, inclusive.
        * first row is 1
        * @param endAtIndex ending index, inclusive
        */
  @@ -166,7 +166,15 @@
        */
       public List getPrefetchedRelationships();
   
  +    /**
  +     * @deprecated 
  +     * @param size
  +     */
       void fullSize(int size);
  +    /**
  +     * @deprecated use OJBIterator.fullSize()
  +     * @return
  +     */
       int fullSize();
   
       void setWithExtents(boolean withExtents);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org