geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1038547 - /geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
Date Wed, 24 Nov 2010 10:32:30 GMT
Author: xiaming
Date: Wed Nov 24 10:32:30 2010
New Revision: 1038547

URL: http://svn.apache.org/viewvc?rev=1038547&view=rev
Log:
Catch unexpected exception when creating tables

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

Modified: geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java?rev=1038547&r1=1038546&r2=1038547&view=diff
==============================================================================
--- geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
(original)
+++ geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
Wed Nov 24 10:32:30 2010
@@ -1736,6 +1736,8 @@ public class TradeDirect implements Trad
 										+ sqlBuffer[i]
 										+ "</I> . Check log for details.</BR>");
 					}
+				} catch (Exception e) {
+				    Log.error("TradeDirect:recreateDBTables got exception! " + e.getMessage() + e.toString());
 				}
 			}
 			stmt.close();



Mime
View raw message