haul 2002/09/06 03:00:21
Modified: src/java/org/apache/cocoon/components/language/markup/xsp
Tag: cocoon_2_0_3_branch EsqlQuery.java
Log:
Patch thanks to neil <[EMAIL PROTECTED]>
- removes reflexion in favour of verbatim copy
- adds paging for results obtained from column
Revision Changes Path
No revision
No revision
1.11.2.9 +0 -15
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.11.2.8
retrieving revision 1.11.2.9
diff -u -r1.11.2.8 -r1.11.2.9
--- EsqlQuery.java 11 Aug 2002 20:07:45 -0000 1.11.2.8
+++ EsqlQuery.java 6 Sep 2002 10:00:21 -0000 1.11.2.9
@@ -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: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]