cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/acting OraAddAction.java
Date Mon, 12 Mar 2001 18:23:33 GMT
bloritsch    01/03/12 10:23:33

  Modified:    src/org/apache/cocoon/acting Tag: xml-cocoon2
                        OraAddAction.java
  Log:
  Fixed indexing error with AddAction
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +3 -2      xml-cocoon/src/org/apache/cocoon/acting/Attic/OraAddAction.java
  
  Index: OraAddAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/acting/Attic/OraAddAction.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- OraAddAction.java	2001/03/12 18:16:22	1.1.2.2
  +++ OraAddAction.java	2001/03/12 18:23:32	1.1.2.3
  @@ -41,7 +41,7 @@
    * only one table at a time to update.
    *
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.1.2.2 $ $Date: 2001/03/12 18:16:22 $
  + * @version CVS $Revision: 1.1.2.3 $ $Date: 2001/03/12 18:23:32 $
    */
   public class OraAddAction extends DatabaseAddAction {
       private static final Map selectLOBStatements = new HashMap();
  @@ -93,9 +93,10 @@
                   }
               }
   
  -            for (int i = 0; i < values.length; i++, currentIndex++) {
  +            for (int i = 0; i < values.length; i++) {
                   if (this.isLargeObject(values[i].getAttribute("type")) == false) {
                       this.setColumn(statement, currentIndex, request, values[i]);
  +                    currentIndex++;
                   }
               }
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message