avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From froehl...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/handlers/lxsql BasicLXSQLUpdateRowsHandler.java BasicLXSQLDeleteRowsHandler.java BasicLXSQLCreateViewHandler.java
Date Tue, 20 Nov 2001 16:44:11 GMT
froehlich    01/11/20 08:44:11

  Modified:    apps/db/src/java/org/apache/avalon/db/basic/handlers/lxsql
                        BasicLXSQLUpdateRowsHandler.java
                        BasicLXSQLDeleteRowsHandler.java
                        BasicLXSQLCreateViewHandler.java
  Log:
  merged "where" logic to SimpleWhereClause
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/handlers/lxsql/BasicLXSQLUpdateRowsHandler.java
  
  Index: BasicLXSQLUpdateRowsHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/handlers/lxsql/BasicLXSQLUpdateRowsHandler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BasicLXSQLUpdateRowsHandler.java	2001/11/19 09:03:02	1.3
  +++ BasicLXSQLUpdateRowsHandler.java	2001/11/20 16:44:11	1.4
  @@ -33,7 +33,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   public class BasicLXSQLUpdateRowsHandler extends BasicLXSQLHandler {
   
  @@ -69,7 +69,7 @@
           String queryableStr = rootElement.getAttribute("from");
           Queryable queryable = (Queryable) mDatabasePersistor.getQueryable(queryableStr);
   
  -        SimpleWhereClause swc = new SimpleWhereClause("TODO");
  +        SimpleWhereClause swc = new SimpleWhereClause(rootElement);
           swc.enableLogging(super.getLogger());
   
           UpdateRows action = new BasicUpdateRows((AbstractQueryable) queryable, swc);
  
  
  
  1.5       +2 -2      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/handlers/lxsql/BasicLXSQLDeleteRowsHandler.java
  
  Index: BasicLXSQLDeleteRowsHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/handlers/lxsql/BasicLXSQLDeleteRowsHandler.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BasicLXSQLDeleteRowsHandler.java	2001/11/19 09:03:02	1.4
  +++ BasicLXSQLDeleteRowsHandler.java	2001/11/20 16:44:11	1.5
  @@ -33,7 +33,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
    */
   public class BasicLXSQLDeleteRowsHandler extends BasicLXSQLHandler {
   
  @@ -69,7 +69,7 @@
           String queryableStr = rootElement.getAttribute("from");
           Queryable queryable = (Queryable) mDatabasePersistor.getQueryable(queryableStr);
   
  -        SimpleWhereClause swc = new SimpleWhereClause("TODO");
  +        SimpleWhereClause swc = new SimpleWhereClause(rootElement);
           swc.enableLogging(super.getLogger());
   
   
  
  
  
  1.6       +2 -2      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/handlers/lxsql/BasicLXSQLCreateViewHandler.java
  
  Index: BasicLXSQLCreateViewHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/handlers/lxsql/BasicLXSQLCreateViewHandler.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BasicLXSQLCreateViewHandler.java	2001/11/19 17:36:06	1.5
  +++ BasicLXSQLCreateViewHandler.java	2001/11/20 16:44:11	1.6
  @@ -34,7 +34,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
    */
   public class BasicLXSQLCreateViewHandler extends BasicLXSQLQueryableHandler {
   
  @@ -83,7 +83,7 @@
                   }
               }
   
  -            SimpleWhereClause swc = new SimpleWhereClause("TODO");
  +            SimpleWhereClause swc = new SimpleWhereClause(rootElement);
               swc.enableLogging(super.getLogger());
   
   
  
  
  

--
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