[jboss-svn-commits] JBL Code SVN: r15391 - labs/jbossesb/trunk/product/services/jbossesb/src/main/java/org/jboss/internal/soa/esb/persistence/format/db.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Sep 26 16:38:27 EDT 2007


Author: kurt.stam at jboss.com
Date: 2007-09-26 16:38:27 -0400 (Wed, 26 Sep 2007)
New Revision: 15391

Modified:
   labs/jbossesb/trunk/product/services/jbossesb/src/main/java/org/jboss/internal/soa/esb/persistence/format/db/DBMessageStoreImpl.java
Log:
JBESB-1050 changing the order of these two lines.

Modified: labs/jbossesb/trunk/product/services/jbossesb/src/main/java/org/jboss/internal/soa/esb/persistence/format/db/DBMessageStoreImpl.java
===================================================================
--- labs/jbossesb/trunk/product/services/jbossesb/src/main/java/org/jboss/internal/soa/esb/persistence/format/db/DBMessageStoreImpl.java	2007-09-26 20:14:45 UTC (rev 15390)
+++ labs/jbossesb/trunk/product/services/jbossesb/src/main/java/org/jboss/internal/soa/esb/persistence/format/db/DBMessageStoreImpl.java	2007-09-26 20:38:27 UTC (rev 15391)
@@ -305,9 +305,9 @@
         try
         {
             con = mgr.getConnection();
+            con.setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED);
             con.setAutoCommit(false);
-            con.setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED);
-               
+            
             Message message=select(uuid, con);
             
             if (message!=null && delete(uuid, RedeliverStore.CLASSIFICATION_RDLVR, con)==1) {




More information about the jboss-svn-commits mailing list