I've noticed that the current cvs version of SQLTransformer allways returns
empty result. Looking at the source code I've discovered that after
invocation of executeQuery you close returned ResultSet and set it to null
in the finally block. I'm sure that this is incorrect behavior. Could
somebody to take a look at it?
kesha
RCS file:
/home/cvspublic/xml-cocoon2/src/org/apache/cocoon/transformation/SQLTransfor
mer.java,v
retrieving revision 1.6
diff -u -r1.6 SQLTransformer.java
--- SQLTransformer.java 2001/06/07 06:15:39 1.6
+++ SQLTransformer.java 2001/06/08 19:21:56
@@ -562,7 +562,7 @@
} catch (ComponentException cme) {
transformer.getTheLogger().error("Could not use connection: " + connection,
cme);
} finally {
- close();
+// close();
if (datasource != null) dbSelector.release(datasource);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]