cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp EsqlQuery.java
Date Fri, 06 Sep 2002 09:50:37 GMT
haul        2002/09/06 02:50:37

  Modified:    src/java/org/apache/cocoon/components/language/markup/xsp
                        EsqlQuery.java
  Log:
  Patch thanks to neil <nbacon@aisoftware.com.au>
  - removes reflexion in favour of verbatim copy
  - adds paging for results obtained from column
  
  Revision  Changes    Path
  1.22      +1 -16     xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/EsqlQuery.java
  
  Index: EsqlQuery.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/EsqlQuery.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- EsqlQuery.java	9 Aug 2002 08:28:14 -0000	1.21
  +++ EsqlQuery.java	6 Sep 2002 09:50:37 -0000	1.22
  @@ -461,19 +461,4 @@
       }
     }
   
  -    /** 
  -     * Get the integer value for a JDBC type.
  -     */
  -    public static int getType(String typeName) 
  -        throws ClassNotFoundException, NoSuchFieldException, IllegalAccessException {
  -
  -        int index = typeName.lastIndexOf(".");
  -        String className = typeName.substring(0, index);
  -        String fieldName = typeName.substring(index + 1);
  -        Class clss = Class.forName( className );
  -        Field fld = clss.getField( fieldName );
  -        return fld.getInt( fieldName );
  -    }           
  -
  -
   }
  
  
  

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