Diff for /FM2SQL/Attic/DBBean.java between versions 1.29 and 1.31

version 1.29, 2004/07/27 10:41:36 version 1.31, 2004/08/09 11:36:18
Line 1528  public class DBBean Line 1528  public class DBBean
     ResultSet result = this.result;      ResultSet result = this.result;
     String subQuery = query.substring(query.lastIndexOf(table) + table.length() + 1);      String subQuery = query.substring(query.lastIndexOf(table) + table.length() + 1);
     System.out.println("subQuery " + subQuery);      System.out.println("subQuery " + subQuery);
     makeQuery("select " + id + " from " + getQC() + table + getQC() + subQuery, numHits);      makeQuery("select " + id + " from " + getQC() + table + getQC() + subQuery+"order by  "+id, numHits);
     while (true)      while (true)
     {      {
       Vector vec = getNextRow();        Vector vec = getNextRow();
Line 1576  public class DBBean Line 1576  public class DBBean
      }       }
         
   }    }
     /**
      * @param indexField
      */
     public String getColumnType(String indexField) throws SQLException
     {
       Vector names=getColumnNames();
       for (int i = 0; i < names.size(); i++)
       {
         if(names.get(i).toString().equals(indexField))
         {
           System .out.println("found field "+names.get(i)+" "+metaData.getColumnTypeName(i+1));
           return metaData.getColumnTypeName(i+1);   
     
         }
       }
     return "";
     }
   
 }  }
   

Removed from v.1.29  
changed lines
  Added in v.1.31


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>