db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/java/org/apache/torque/util Criteria.java
Date Tue, 24 Jun 2003 09:47:30 GMT
mpoeschl    2003/06/24 02:47:30

  Modified:    src/java/org/apache/torque/util Criteria.java
  Log:
  remove unuse blobFlag and deprecate the setter
  
  Revision  Changes    Path
  1.42      +4 -6      db-torque/src/java/org/apache/torque/util/Criteria.java
  
  Index: Criteria.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/java/org/apache/torque/util/Criteria.java,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- Criteria.java	14 May 2003 19:38:03 -0000	1.41
  +++ Criteria.java	24 Jun 2003 09:47:30 -0000	1.42
  @@ -188,9 +188,6 @@
       /** To start the results at a row other than the first one. */
       private int offset = 0;
   
  -    // flag to note that the criteria involves a blob.
  -    private Boolean blobFlag = null;
  -
       private HashMap aliases = null;
   
       private boolean useTransaction = false;
  @@ -263,7 +260,6 @@
           dbName = originalDbName;
           offset = 0;
           limit = -1;
  -        blobFlag = null;
           aliases = null;
           useTransaction = false;
       }
  @@ -2997,10 +2993,12 @@
        * in the Criteria contain Blobs, so that the operation can be placed
        * in a transaction if the db requires it.
        * This is primarily to support Postgresql.
  +     * 
  +     * @deprecated this flag is not used any longer
        */
       public void setBlobFlag(boolean b)
       {
  -        blobFlag = (b ? Boolean.TRUE : Boolean.FALSE);
  +        // do nothing as we don't use the flag any longer 
       }
   
       /**
  
  
  

Mime
View raw message