avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/test Tester.java
Date Mon, 19 Nov 2001 18:00:02 GMT
hammant     01/11/19 10:00:02

  Modified:    apps/db/src/java/org/apache/avalon/db/test Tester.java
  Log:
  start of update in tester
  
  Revision  Changes    Path
  1.25      +13 -1     jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/test/Tester.java
  
  Index: Tester.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/test/Tester.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- Tester.java	2001/11/19 17:36:06	1.24
  +++ Tester.java	2001/11/19 18:00:02	1.25
  @@ -55,7 +55,7 @@
                                    "<row>" +
                                      "<value col=\"forename\">Barney</value>"
+
                                      "<value col=\"surname\">Rubble</value>"
+
  -                                   "<value col=\"age\">39</value>" +
  +                                   "<value col=\"age\">66</value>" +
                                    "</row>" +
                                    "<row>" +
                                      "<value col=\"forename\">I am going</value>"
+
  @@ -129,6 +129,18 @@
                             "</where>" +
                         "</delete-rows>";
           st.execute(delt);
  +
  +        System.err.println("UPDATE 1");
  +        st = mCon.createStatement();
  +        String updt = "<update-rows from=\"Flintstones\">" +
  +                          "<updates>" +
  +                              "<set name=\"surname\" value=\"McRubble\"/>" +
  +                          "</updates>" +
  +                          "<where>" +
  +                              "<condition expr=\"age>60\"/>" +
  +                          "</where>" +
  +                      "</update-rows>";
  +        st.execute(updt);
   
   
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message