portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r600767 - /portals/jetspeed-2/trunk/components/jetspeed-statistics/src/main/java/org/apache/jetspeed/statistics/impl/BatchedStatistics.java
Date Tue, 04 Dec 2007 01:51:17 GMT
Author: taylor
Date: Mon Dec  3 17:51:15 2007
New Revision: 600767

URL: http://svn.apache.org/viewvc?rev=600767&view=rev
Log:
rollback on exception as proposed by Rango Keshevan

Modified:
    portals/jetspeed-2/trunk/components/jetspeed-statistics/src/main/java/org/apache/jetspeed/statistics/impl/BatchedStatistics.java

Modified: portals/jetspeed-2/trunk/components/jetspeed-statistics/src/main/java/org/apache/jetspeed/statistics/impl/BatchedStatistics.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/jetspeed-statistics/src/main/java/org/apache/jetspeed/statistics/impl/BatchedStatistics.java?rev=600767&r1=600766&r2=600767&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/jetspeed-statistics/src/main/java/org/apache/jetspeed/statistics/impl/BatchedStatistics.java
(original)
+++ portals/jetspeed-2/trunk/components/jetspeed-statistics/src/main/java/org/apache/jetspeed/statistics/impl/BatchedStatistics.java
Mon Dec  3 17:51:15 2007
@@ -180,6 +180,11 @@
         {
             // todo log to standard Jetspeed logger
             e.printStackTrace();
+            try
+            {
+                con.rollback();
+            }
+            catch (Exception e2) {}            
         } finally
         {
             try



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


Mime
View raw message