haul 2002/09/06 02:50:37
Modified: src/java/org/apache/cocoon/components/language/markup/xsp
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
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: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]