geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r425477 - /geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
Date Tue, 25 Jul 2006 18:21:07 GMT
Author: hogstrom
Date: Tue Jul 25 11:21:06 2006
New Revision: 425477

URL: http://svn.apache.org/viewvc?rev=425477&view=rev
Log:
DAYTRADER-8 Correct small difference in Sync Order Processing between Direct and EJB Mode

Modified:
    geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java

Modified: geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java?rev=425477&r1=425476&r2=425477&view=diff
==============================================================================
--- geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
(original)
+++ geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
Tue Jul 25 11:21:06 2006
@@ -227,6 +227,8 @@
 
 				cancelOrder(conn, orderData.getOrderID());	
 			}
+
+                        orderData = getOrderData(conn, orderData.getOrderID().intValue());
 			
 			if (txn != null) {
 				if ( Log.doTrace() )
@@ -329,6 +331,9 @@
 
 				cancelOrder(conn, orderData.getOrderID());	
 			}
+
+                        orderData = getOrderData(conn, orderData.getOrderID().intValue());
+
 			if (txn != null) {
 				if ( Log.doTrace() )
 					Log.trace("TradeDirect:sell committing global transaction");		



Mime
View raw message