cziegeler 2003/08/18 05:59:34
Modified: src/java/org/apache/cocoon/transformation
SQLTransformer.java
. changes.xml
Log:
<action dev="CZ" type="fix" fixes-bug="12173">
Applying patch from Renaud Bruyeron ([EMAIL PROTECTED]) that fixes
the prematurely closing of the connection causing in the SQL Transformer.
</action>
Revision Changes Path
1.6 +4 -3
cocoon-2.0/src/java/org/apache/cocoon/transformation/SQLTransformer.java
Index: SQLTransformer.java
===================================================================
RCS file:
/home/cvs/cocoon-2.0/src/java/org/apache/cocoon/transformation/SQLTransformer.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SQLTransformer.java 11 Jun 2003 00:28:00 -0000 1.5
+++ SQLTransformer.java 18 Aug 2003 12:59:33 -0000 1.6
@@ -1092,8 +1092,9 @@
transformer.getTheLogger().error( "Caught a SQLException", e );
throw e;
} finally {
- conn.close();
- conn = null; // To make sure we don't use this connection
again.
+ // Not closing the connection here fixes bug 12173!
+ // conn.close();
+ // conn = null; // To make sure we don't use this connection
again.
}
}
1.34 +5 -1 cocoon-2.0/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/cocoon-2.0/changes.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- changes.xml 11 Aug 2003 06:23:18 -0000 1.33
+++ changes.xml 18 Aug 2003 12:59:33 -0000 1.34
@@ -43,6 +43,10 @@
</devs>
<release version="@version@" date="@date@">
+ <action dev="CZ" type="fix" fixes-bug="12173">
+ Applying patch from Renaud Bruyeron ([EMAIL PROTECTED]) that fixes
+ the prematurely closing of the connection causing in the SQL Transformer.
+ </action>
<action dev="CZ" type="fix" fixes-bug="14348">
Applying patch from Marco Rolappe ([EMAIL PROTECTED]) that fixes
the caching problem when