jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r504780 - /jakarta/taglibs/proper/standard/trunk/src/org/apache/taglibs/standard/tag/common/sql/TransactionTagSupport.java
Date Thu, 08 Feb 2007 04:59:48 GMT
Author: bayard
Date: Wed Feb  7 20:59:47 2007
New Revision: 504780

URL: http://svn.apache.org/viewvc?view=rev&rev=504780
Log:
Applying fix from 34896

Modified:
    jakarta/taglibs/proper/standard/trunk/src/org/apache/taglibs/standard/tag/common/sql/TransactionTagSupport.java

Modified: jakarta/taglibs/proper/standard/trunk/src/org/apache/taglibs/standard/tag/common/sql/TransactionTagSupport.java
URL: http://svn.apache.org/viewvc/jakarta/taglibs/proper/standard/trunk/src/org/apache/taglibs/standard/tag/common/sql/TransactionTagSupport.java?view=diff&rev=504780&r1=504779&r2=504780
==============================================================================
--- jakarta/taglibs/proper/standard/trunk/src/org/apache/taglibs/standard/tag/common/sql/TransactionTagSupport.java
(original)
+++ jakarta/taglibs/proper/standard/trunk/src/org/apache/taglibs/standard/tag/common/sql/TransactionTagSupport.java
Wed Feb  7 20:59:47 2007
@@ -70,10 +70,6 @@
 
     public TransactionTagSupport() {
 	super();
-	init();
-    }
-
-    private void init() {
 	conn = null;
 	dataSourceSpecified = false;
 	rawDataSource = null;
@@ -81,6 +77,7 @@
     }
 
 
+
     //*********************************************************************
     // Tag logic
 
@@ -166,11 +163,13 @@
 	    }
 	}
 	conn = null;
+	isolation = Connection.TRANSACTION_NONE;
     }
 
     // Releases any resources we may have (or inherit)
     public void release() {
-	init();
+	dataSourceSpecified = false;
+	rawDataSource = null;
     }
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message