geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r482211 - /geronimo/daytrader/branches/1.2/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeAction.java
Date Mon, 04 Dec 2006 15:16:02 GMT
Author: hogstrom
Date: Mon Dec  4 07:16:02 2006
New Revision: 482211

URL: http://svn.apache.org/viewvc?view=rev&rev=482211
Log:
DAYTRADER-26 Corrected incorrect home specification from tradeHome to tradeJDBCHome

Modified:
    geronimo/daytrader/branches/1.2/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeAction.java

Modified: geronimo/daytrader/branches/1.2/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeAction.java
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/1.2/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeAction.java?view=diff&rev=482211&r1=482210&r2=482211
==============================================================================
--- geronimo/daytrader/branches/1.2/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeAction.java
(original)
+++ geronimo/daytrader/branches/1.2/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeAction.java
Mon Dec  4 07:16:02 2006
@@ -85,7 +85,7 @@
 			}
 		} else if (TradeConfig.runTimeMode == TradeConfig.SESSION) {
 			try {
-				if (tradeHome == null) {
+				if (tradeJDBCHome == null) {
 					InitialContext ic = new InitialContext();
 					try {
 						tradeJDBCHome = (TradeJDBCHome) (javax.rmi.PortableRemoteObject.narrow(ic.lookup("java:comp/env/ejb/TradeJDBC"),
TradeJDBCHome.class));
@@ -511,4 +511,4 @@
 		runStatsData = trade.resetTrade(deleteAll);
 		return runStatsData;
 	}
-}
\ No newline at end of file
+}



Mime
View raw message