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/data/impl AbstractQueryable.java
Date Mon, 17 Dec 2001 16:10:00 GMT
froehlich    01/12/17 08:10:00

  Modified:    apps/db/src/java/org/apache/avalon/db/data/impl
                        AbstractQueryable.java
  Log:
  create, insert, select + criteria is working 90%
  
  Revision  Changes    Path
  1.13      +3 -2      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/data/impl/AbstractQueryable.java
  
  Index: AbstractQueryable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/data/impl/AbstractQueryable.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- AbstractQueryable.java	2001/12/17 16:00:17	1.12
  +++ AbstractQueryable.java	2001/12/17 16:10:00	1.13
  @@ -13,6 +13,7 @@
   import org.apache.avalon.db.data.Catalog;
   import org.apache.avalon.db.data.RowListener;
   import org.apache.avalon.db.data.Row;
  +import org.apache.avalon.db.utils.StringUtils;
   
   import java.util.Vector;
   import java.util.Iterator;
  @@ -25,7 +26,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.12 $
  + * @version $Revision: 1.13 $
    */
   public abstract class AbstractQueryable extends AbstractNameable implements Queryable {
   
  @@ -192,7 +193,7 @@
           System.out.println("columnName=" + columnName);
   
           for (int x = 0; x < mColumns.length; x++) {
  -            if (mColumns[x].getColumnName().equals(columnName)) {
  +            if (mColumns[x].getColumnName().equals(StringUtils.normalize(columnName)))
{
                   col = mColumns[x];
               }
           }
  
  
  

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