geronimo-scm mailing list archives

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

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

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

Modified: geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeAction.java
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeAction.java?view=diff&rev=482210&r1=482209&r2=482210
==============================================================================
--- geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeAction.java
(original)
+++ geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/TradeAction.java
Mon Dec  4 07:15:50 2006
@@ -102,7 +102,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));



Mime
View raw message